First, download and run the VirtualBox_Uninstall.tool

sudo kextcache -invalidate /

Note: the kextcache command must be run as root.

You should see something like KernelCache ID: <Some ID>.

But just to make sure:

ls /Library/StagedExtensions/

You shouldn’t see VirtualBox any more.

Hey, kudos for making it this far! Wanted to let you know that if you liked this, you might also like tmux Cheatsheet and Shortcuts.


I'm Bobby Yan, a programmer, music lover, researcher, and a third-year undergraduate student at UC Berkeley majoring in Electrical Engineering and Computer Science. I am currently doing research on robotics, planning, and systems for machine learning at RISELab. In the past, I built IB Notes, a website with useful and concise study guides and notes for IB, and Spanish Vocab Builder, an iOS app to help Spanish learners. See my résumé for more details.

If you enjoyed this article, you should follow me on Twitter or sign up to get an email whenever I write something new:

Share this article with your friends: