/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget brew cask install iterm2
Install from Git: https://github.com/Homebrew/homebrew-core/tree/master/Formula:
brew install https://github.com/Homebrew/homebrew-core/blob/master/Formula/docker.rb
Upgrade all packages:
brew uninstall wget brew cask uninstall iterm2
Refusing to uninstall package because it is required by some packages which are currently installed. Override this and force removal with:
brew uninstall --ignore-dependencies gcc
Remove all versions:
brew uninstall --force gcc
Remove a list of packages:
brew uninstall $(brew list PACKAGE_NAMES)
brew info gcc brew cask info atom
brew search brew cask search
List Installed Packages
brew list brew cask list
Default Installation Path
For some packages, users should configure the local bash profile to add the path of installed packages.
Remove all installed homebrew packages:
brew remove --force $(brew list) --ignore-dependencies
Uninstall homebrew by the following command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"