赞
踩
科大源安装
$ /bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
卸载
$ /bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/uninstall.sh)"
brew install 包名
brew uninstall 包名
brew search 包名
brew upgrade
brew upgrade 包名
brew list
brew info 包名
- # 查看哪些软件包要被清除
- $ brew cleanup -n
-
- # 清除指定软件包的所有老版本
- $ brew cleanup 软件名
-
- # 清除所有软件包的所有老版本
- $ brew cleanup
brew -v
brew update
brew -h
brew install --cask --appdir=/Applications docker
会遇到梯子问题
- cd "$(brew --repo)"
- git remote rename origin upstream
git remote add origin https://mirrors.ustc.edu.cn/brew.git
brew update
arch -x86_64 brew install --cask docker
如果你使用的是Apple Silicon的Mac,请确保使用
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。