mac OS 安装homebrew
正在查看 0 条回复
- 作者帖子
- Up::0
mac os 12默认没有安装HomeBrew
1. 安装代码:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. 用homebrew install 软件的格式:
brew install <package name>
3. 导出环境变量
Open the Terminal and type the below command and press Enter.
export PATH="/opt/homebrew/bin:$PATH"
then type the below command and press Enter.
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> $HOME/.zshrc
4. How to check installed packages via Homebrew
To check the installed package, type brew services list in the terminal.brew services list
How to uninstall installed packages
To removed the installed package, typebrew uninstall --force <package name>
- 作者帖子
正在查看 0 条回复
- 哎呀,回复话题必需登录。