command not found: godep
export GOPATH = / Users / your path / go (export GOPATH = $ HOME / go) print path about godev
export GOROOT=/usr/local/go
S_PATH=$GOROOT/bin:$GOPATH/bin
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:$S_PATH"
$ HOME is the user's home directory in every computer, every computer may be different, you can run echo $ HOME acquiring terminal
Or add in .bashrc
export GOPATH=$HOME/go
Open and configuration environment variable
vi bash_profile
source ~/.bash_profile
Reference link:
http://c.biancheng.net/view/3994.html
https://segmentfault.com/q/1010000004411498