bash_profile 配置

2019-10-25  本文已影响0人  FieryDragon

1.打开终端
2.打开bash_profile

vim ~/.bash_profile

3.添加path

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=/Users/****/Desktop/development/flutter/bin:$PATH

4.保存退出

:wq 

5.刷新生效

source ~/.bash_profile

6.查看配置结果

echo $PATH
上一篇 下一篇

猜你喜欢

热点阅读