安装
brew install go
设置 GOPATH & bin
echo 'export GOPATH=$HOME/Go' >> ~/.bash_profile
echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bash_profile
source ~/.bash_profile
brew install go
echo 'export GOPATH=$HOME/Go' >> ~/.bash_profile
echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bash_profile
source ~/.bash_profile
本文标题:使用 homebrew 安装 Go
本文链接:https://www.haomeiwen.com/subject/armdyttx.html
网友评论