[Solved] go install but unable to run app from folders uther than bin

[ad_1]

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

[ad_2]

solved go install but unable to run app from folders uther than bin