mac安装brew
包管理工具
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
下载完根据提示执行
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/wyx/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
``` (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/wyx/.bash_profile eval "$(/opt/homebrew/bin/brew shellenv)" ```