[Solved] For more details see: ’go help gopath’


Try:

mkdir -p $GOPATH/bin

The error you’re seeing is the installation directory doesn’t exist, so install can’t do anything.


Also, there’s a typo here:

export GOPATH="/Users/skan/Documetns/study/golang"

So, same reasoning, but, try Documents

solved For more details see: ’go help gopath’