1.安装brew,brew是mac上的包管理工具
在终端运行一下命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
2.安装完成后,终端输入brew,查看是否安装成功,
hanxuezhi@hanxuezhideMacBook-Pro ~ % brew
Example usage:
brew search TEXT|/REGEX/
brew info [FORMULA|CASK...]
brew install FORMULA|CASK...
brew update
brew upgrade [FORMULA|CASK...]
brew uninstall FORMULA|CASK...
brew list [FORMULA|CASK...]
Troubleshooting:
brew config
brew doctor
brew install --verbose --debug FORMULA|CASK
Contributing:
brew create URL [--no-fetch]
brew edit [FORMULA|CASK...]
Further help:
brew commands
brew help [COMMAND]
man brew
https://docs.brew.sh
3.brew list查看安装的软件
hanxuezhi@hanxuezhideMacBook-Pro ~ % brew list
==> Formulae
telnet