go install
installs a binary to $GOPATH/bin
which is likely does not present in PATH
env variable of your OS.
You need to add$GOPATH/bin
to your PATH
:
export PATH=$GOPATH/bin:$PATH
solved go install but unable to run app from folders uther than bin