-
安装homebrew的指令:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
查看brew的帮助:
brew help
-
安装软件:
brew install Git
-
卸载软件:
brew uninstall Git
-
搜索软件:
brew search git
-
更新所有可更新的软件:
brew upgrade
-
更新某具体软件:
brew upgrade git
-
查看软件信息:
brew info git
-
删除所有程序:
brew cleanup
-
删除指定程序:
brew cleanup git
-
查看哪些已安装的程序需要更新:
brew outdated
-
查看所有已安装的程序:
brew list
-
更新Homebrew:
brew update
-
用浏览器打开:
brew home git
-
显示包依赖:
brew deps git
网友评论