Skip to content

Cleanup

Shivam Mathur edited this page Nov 12, 2021 · 2 revisions

Remove PHP packages

  • Remove PHP from the Homebrew Cellar:
rm -rf $(brew --cellar)/php
  • Remove old PHP Launch Agents and daemons, if present:
rm -f ~/Library/LaunchAgents/homebrew.mxcl.php*
rm -f /Library/LaunchAgents/homebrew.mxcl.php*
rm -f /Library/LaunchDaemons/homebrew.mxcl.php*
  • Remove the deprecated homebrew/php tap, if present:
brew untap homebrew/php
  • Remove the deprecated exolnet/deprecated tap, if present:
brew untap exolnet/deprecated
  • Run brew cleanup:
brew cleanup
Clone this wiki locally