macOS command+空格打开搜索框,然后打开terminal。
terminal输入指令安装brew
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
brew安装成功,显示 Installation successful! 或者 Checking out files: 100% (5392/5392), done.。
brew常用指令
brew update 更新Homebrew
brew install <pkg_name> 安装任意软件
brew uninstall <pkg_name> 卸载任意软件
brew search <pkg_name> 查询任意包