1, installation Homebrew
Paste the following command into the terminal to run:
/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"
Or you can login directly to the website: https://brew.sh/index_zh-cn.html, there will be instructions on how to install.
2. Basic use
(1) Installing the Software
# Brew Install pkg_name Brew Install Tmux
(2) Search software
# Brew Serarch pkg_name Brew search wget wget wgetpaste
(3) Viewing software information
# Brew Info pkg_name Brew Info wget
(4) Uninstalling the software
# Brew Uninstall Pkg_name Brew Uninstall wget
3. Update Homebrew
Brew Update
4, uninstall Homebrew
Paste the following command into the terminal to uninstall homebrew
Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
5. Official FAQ
Http://docs.brew.sh/FAQ.html
Reference:
http://www.jianshu.com/p/d229ac7fe77d
This article is from the "Wangjian it road!" "Blog, be sure to keep this provenance http://asherwang.blog.51cto.com/11255017/1929586
MAC OS Package Manager homebrew a few simple administrative commands