Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: go version shows command not found, when I install go by go1.12.darwin-amd64.pkg or go1.11.5.darwin-amd64.pkg #30762
I install go by go1.12.darwin-amd64.pkg or go1.11.5.darwin-amd64.pkg.
1、 I type
3、 I type
4、I set the go path
So, what's wrong whit me?
Did you follow the steps here (https://golang.org/doc/install#macos) exactly ?
including this one ?
In fact, I don't need to add the go path to my PATH environment variable，because the pkg package had auto add it in
Steps 4, I had add it and restart terminal, but