uninstall php 8 mac code example Example: uninstall php 8 mac brew uninstall php@8.0 or brew uninstall --force php@7.3