Reference Links: https://www.cnblogs.com/xd502djj/p/6923690.html
What is Homebrew
Homebrew is a package manager, it will install the package to / usr / local / Cellar directory and create a symbolic link in / usr / local / bin, similar to Debian / Ubuntu apt family and Redhat / Fedora series of yum
installation
Official website: https://brew.sh/
- Executed in a terminal
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Press Enter to continue
- The emergence of these two error
#解决办法
sudo chown -R aaron(你的用户名称):staff *
brew brew doctor // 检查是否安装成功