Make sure the following paths are added to the .bash_profile export GOPATH=$HOME/Documents/work/go export PATH=$HOME/Documents/work/go/bin:$PATH