Skip to content
On this page

Useful commands

Doctor

Check your system for potential problems.

bash
brew doctor
bash
brew search <formulae>
brew cask search <formulae>

Update & Upgrade

bash
# Update formulaes versions list
brew update

# Upgrade to new formulaes versions
brew upgrade
bash
# Upgrade casks packages
brew cask upgrade

Cleanup

Delete all the unused packages from old versions to free space on disk.

bash
brew cleanup

Zap (Cask)

Removes a cask with all the files related to the package.

bash
brew cask zap <formulae>