Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebrew 常用命令和工具 #7

Open
jerrychir opened this issue Jan 10, 2019 · 0 comments
Open

Homebrew 常用命令和工具 #7

jerrychir opened this issue Jan 10, 2019 · 0 comments

Comments

@jerrychir
Copy link
Owner

Homebrew 常用命令和工具

brew services管理服务

brew services list  # 查看使用brew安装的服务列表
brew services run formula|--all  # 启动服务(仅启动不注册)
brew services start formula|--all  # 启动服务,并注册
brew services stop formula|--all   # 停止服务,并取消注册
brew services restart formula|--all  # 重启服务,并注册
brew services cleanup  # 清除已卸载应用的无用的配置

命令

安装软件:brew install 软件名,例:brew install wget
搜索软件:brew search 软件名,例:brew search wget
卸载软件:brew uninstall 软件名,例:brew uninstall wget
更新所有软件:brew update
更新具体软件:brew upgrade 软件名 ,例:brew upgrade git
显示已安装软件:brew list
查看软件信息:brew info/home 软件名 ,例:brew info git / brew home git
显示包依赖:brew reps
显示安装的服务:brew services list
安装服务启动、停止、重启:brew services start/stop/restart serverName

可视化homebrew

brew cask install cakebrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant