设置Linux环境变量,设置路径的方法

2020-10-09 09:33:47  [ linux ]      留言:0      阅读:26

来源:


set env

mkdir -p $HOME/go/bin echo "export GOPATH=$HOME/go" >> ~/.bash_profile echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile echo "export GO111MODULE=on" >> ~/.bash_profile  source ~/.bash_profile


来源:


留言:


    更换校验码     

无觅相关文章插件,快速提升流量
分享到:
友荐云推荐 Process: 0.0367s ( Load:0.0003s Init:0.0008s Exec:0.0218s Template:0.0138s ) | DB :14 queries 1 writes | UseMem:3,014 kb