You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation suggest GOBIN=$GOPATH/bin, so yes go/bin should be good
The directory where executables outside the Go distribution are installed using the go command. For example, go install golang.org/x/tools/cmd/godoc@latest downloads, builds, and installs $GOBIN/godoc. By default, $GOBIN is $GOPATH/bin (or $HOME/go/bin if GOPATH is not set). After installing, you will want to add this directory to your $PATH so you can use installed tools.
Note that the Go distribution's executables are installed in $GOROOT/bin (for executables invoked by people) or $GOTOOLDIR (for executables invoked by the go command; defaults to $GOROOT/pkg/$GOOS_$GOARCH) instead of $GOBIN.
Activity
davidorozcog commentedon Nov 16, 2023
Hey @dmgcoding, one quick question, do you have set the
$GOBINenv var set? Make sure you have it setdmgcoding commentedon Nov 16, 2023
what should the path be? to the go>bin folder?
davidorozcog commentedon Nov 16, 2023
The documentation suggest
GOBIN=$GOPATH/bin, so yes go/bin should be good