安装Homebrew

安装Homebrew
1.输入命令等待安装 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
 
1.1 如果是国内源用这个:
 
2.添加路径 echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
3.刷新 source ~/.zshrc
4.打开的文件文件:
    .zshrc    
5.需要添加下面路径
export PATH=/Users/yuandao/flutter/bin:$PATH
 
 
posted @ 2024-05-28 14:31  super1250  阅读(9)  评论(0编辑  收藏  举报