Skip to content
Discussion options

You must be logged in to vote

Hey there! I know this question was raised about 2 years ago, but I figured it might still be helpful for anyone stumbling upon this issue today.

The installation location of Go binaries depends on your environment settings:

  1. If you have set the GOBIN environment variable, it will be installed there.
  2. If GOBIN is not set, but GOPATH is set, it will be installed in $GOPATH/bin.
  3. If neither GOBIN nor GOPATH are set, it will default to $HOME/go/bin

Just remember to add whichever folder you're using to your PATH, and you'll be ready to Go (pun intended)! 😉
Don't let those binaries play hide and seek with you! 🚀

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Archie-2021
Comment options

Comment options

You must be logged in to vote
1 reply
@CatsDeservePets
Comment options

Answer selected by CatsDeservePets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants