mac安装brew
1.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2.
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/amy.zhang/.zprofile
3.
eval "$(/opt/homebrew/bin/brew shellenv)"
4. brew
5. try
brew doctor
brew install openjdk@11
标签:bin,opt,echo,mac,install,brew,安装 From: https://www.cnblogs.com/pangniu/p/17577446.html