mac安装brew

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

 

posted @ 2023-07-24 15:49  胖妞麻麻  阅读(49)  评论(0)    收藏  举报