date | author | title | url | tags | series | categories | toc | draft | |||
---|---|---|---|---|---|---|---|---|---|---|---|
2022-05-22 14:37:54 +0800 |
Rustle Karl |
brew MacOS 包管理器 |
posts/linux/tools/pkg-manager/brew |
|
|
|
true |
false |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
可能会遇到 Failed to install Homebrew Portable Ruby,删除下面的文件即可:
rm /Users/yn/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
# 查询
brew search 软件名
# 安装
brew install 软件名
# 卸载
brew uninstall 软件名
# 更新 Homebrew
brew update
# 查看 Homebrew 配置信息
brew config
brew install visual-studio-code
brew install golang
brew install microsoft-remote-desktop
brew install --cask jetbrains-toolbox
brew install google-chrome
与 Linux 系统是一样的,自动检测代理相关的环境变量:
ALL_PROXY= http://127.0.0.1:8118 brew