- curl -O https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
- tar -C /usr/local -zxvf go1.7.3.linux-amd64.tar.gz
- sudo tar -C /usr/local -zxvf go1.7.3.linux-amd64.tar.gz
- mkdir -p ~/go/src
- echo "export GOPATH=$HOME/go" >> ~/.bashrc
- echo "export PATH=GOPATH/bin:/usr/local/go/bin" >> ~/.bashrc
- source ~/.bashrc
- go version
你是在哪里粘贴的,现在都1.13了
#1