Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rodchristiansen/2952af21e87f2cb7ae6bb709fd619b56 to your computer and use it in GitHub Desktop.
Save rodchristiansen/2952af21e87f2cb7ae6bb709fd619b56 to your computer and use it in GitHub Desktop.
Script to remove Soundflower audio driver from macOS Catalina 10.15+
#!/bin/bash
# Clears the SIP protected folder where Soundflower will be loaded by the system
sudo kextcache --clear-staging
if [ -d /Library/Extensions/Soundflower.kext ]; then
sudo kextunload -q /Library/Extensions/Soundflower.kext
sudo rm -rf /Library/Extensions/Soundflower.kext
fi
if [ -d /System/Library/Extensions/Soundflower.kext ]; then
sudo kextunload -q /System/Library/Extensions/Soundflower.kext
sudo rm -rf /System/Library/Extensions/Soundflower.kext
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment