Skip to content

Instantly share code, notes, and snippets.

@anibalardid
Created May 10, 2021 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anibalardid/1aeb7eb72023a022dbc028ed3457ef06 to your computer and use it in GitHub Desktop.
Save anibalardid/1aeb7eb72023a022dbc028ed3457ef06 to your computer and use it in GitHub Desktop.
go golang install paths

add to . bashrc / .zshrc

export GOPATH="$HOME/go_projects"
export GOBIN="$GOPATH/bin"

export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment