Mac軟件安裝 homebrew & brew cask使用技巧


安裝 homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

常用命令

安裝軟件: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 cask

brew tap phinze/homebrew-cask
brew install brew-cask

軟件列表

可視化homebrew安裝工具

brew cask install cakebrew

圖形化管理Homebrew安裝的服務軟件

brew tap jimbojsb/launchrocket
brew cask install launchrocket

全局搜索工具

brew cask install alfred
//快捷鍵option+space
//command+回車打開文件所在文件夾
//把/usr/local/Caskroom增加到 alfred 的search目錄中,偏好設置->Features->Default Results->Search Scope

//百度搜索添加設置
1.Features->Web Search->Add Custom Search
2.Search Url->https://www.baidu.com/s?wd={query}
Title->Search Baidu for '{query}'
Keywords->baidu
Validation:alfredpp

//國人必備的30個Alfred Workflow
https://www.waerfa.com/alfred-workflow
brew cask install google-chrome
//chrome://components

終端工具

brew cask install iterm2
//配色https://github.com/mbadolato/iTerm2-Color-Schemes

mac chm閱讀工具

brew cask install ichm

redis客戶端

brew cask install rdm
brew install macvim --with-override-system-vim
brew install emacs --with-cocoa --with-gnutls
brew install adminer

mac環境工具

brew install mysql
brew install httpd24
brew install php56 --with-httpd24
brew install redis
brew install php56-redis
//redis可視化管理工具 redis-desktop-manager
brew install php56-yaf
brew install php56-swoole
brew install mongodb
brew install php56-mongodb
brew install nginx
brew install memcached
brew install php56-memcached
//mongodb可視化管理工具 robomongo

虛擬機

brew cask install virtualbox
brew cask install vagrant

前端工具

brew install node

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM