okass 在版块 Coding 中发起了话题 mac OS 安装homebrew 2年, 10个月前
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, type# brew uninstall –force <package name>
最后在线: 活跃于 6个月, 2周前
评论: 7
获赞: 0
文章: 0
粉丝: 68
关注: 68
好友: 8
User Rating: ( vote)