安装Homebrew 官网:https://brew.sh/ 1.输入命令等待安装 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2.添加路径 echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc 3.刷新 source ~/.zshrc raw.githubusercontent.com 4.打开的文件文件: .zshrc 5.需要添加下面路径 export PATH=/Users/yuandao/flutter/bin:$PATH
标签:bin,zshrc,raw,PATH,Homebrew,安装 From: https://www.cnblogs.com/supersr/p/18217963