Homebrew stepped pit

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/

  1. Executed in a terminal
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Press Enter to continue
  3. The emergence of these two error
#解决办法
sudo chown -R aaron(你的用户名称):staff *
brew brew doctor // 检查是否安装成功

Guess you like

Origin www.cnblogs.com/kangyuqi/p/11432361.html