关于homebrew:Mac-brew-常用命令

6次阅读

共计 384 个字符,预计需要花费 1 分钟才能阅读完成。

  • 查看 brew 的帮忙
brew –help 
  • 装置软件
brew install git 
  • 卸载软件
brew uninstall git 
  • 搜寻软件
brew search git 
  • 显示曾经装置软件列表
brew list 
  • 更新软件,把所有的 Formula 目录更新,并且会对本机曾经装置并有更新的软件用 * 表明。
brew update 
  • 更新某具体软件
brew upgrade git 
  • 显示软件内容信息
brew info git 
  • 用浏览器关上
brew home 
  • 显示包依赖
brew deps 
  • 显示包的依赖树
brew deps --installed --tree 
  • 启动 web 服务器,能够通过浏览器拜访 http://localhost:4567/ 来同网页来治理包
brew server 
  • 删除程序,和 upgrade 一样,单个软件删除和所有程序老版删除。
brew cleanup git 
brew cleanup 
  • 查看那些已装置的程序须要更新
brew outdated
正文完
 0