安裝nginx
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"git
時間比較久。。。github
卸載ruby
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"bash
經常使用命令curl
安裝軟件,如:brew install oclint 卸載軟件,如:brew uninstall oclint 搜索軟件,如:brew search oclint 更新軟件,如:brew upgrade oclint 查看安裝列表, 如:brew list 更新Homebrew,如:brew update
nginx ui
nginx -h 查看 nginx 命令參數 nginx -s reopen | quit | reload | stop 開啓 退出 重啓 中止
Mac快捷鍵查看隱藏文件Command + Shift + .