Instruction
Info
Hot commands
- install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- uninstall
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
- add to PATH
echo >> /Users/$(whoami)/.profile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/$(whoami)/.profile
eval "$(/opt/homebrew/bin/brew shellenv)"
- list installed packages
brew list installed
- brew switch beatween packages versions
brew unlink mytool@1.1
brew link mytool@2.0