1.打开终端
2.输入:echo $PATH
3.sudo vi ~/.bash_profile
4.按i编辑 输入例如:
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
5.按ESC退出再按:wq退出
1.打开终端
2.输入:echo $PATH
3.sudo vi ~/.bash_profile
4.按i编辑 输入例如:
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
5.按ESC退出再按:wq退出
本文标题:Mac 设置环境变量
本文链接:https://www.haomeiwen.com/subject/mrkiiftx.html
网友评论