# Homebrew使用命令 URL: https://chengjinfang.com/posts/2018/manual-homebrew/ Author: 程锦方 Date: 2018-03-16 Tags: #manual #note Summary: 安装 Homebrew,记录搜索、安装与管理常用软件的命令。 ------------------------------------------------------------------------ Homebrew是Mac OSX上的软件包管理工具类似于apt-get。 ### 安装 Homebrew ```sh /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` ### 使用 https://docs.brew.sh/FAQ 安装软件:brew cask install go 搜索软件:brew search go 卸载软件:brew cask uninstall go 删除下载的包:brew cleanup 更新所有软件:brew upgrade 显示已安装软件:brew list 查看软件信息:brew info go 显示包依赖:brew reps 查看那些已安装的程序需要更新: brew outdated 清理旧版本:brew cleanup ### 搜索可以安装的软件 https://caskroom.github.io/search ------------------------------------------------------------------------ Site: https://chengjinfang.com/ · All Index: https://chengjinfang.com/all/ · RSS: https://chengjinfang.com/rss.xml