gao The path is $GOPATH/src/github.com/gao/README.md You can add the following lines to ~/.bashrc or ~/.profile etc. export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin