From charlesreid1

Revision as of 07:37, 15 February 2018 by Admin (talk | contribs) (Created page with "Goenv is like pyenv or rbenv but for Go <pre> git clone https://github.com/syndbg/goenv.git ~/.goenv </pre> Now add .goenv to your path in .bash_profile so goenv is a comman...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Goenv is like pyenv or rbenv but for Go

git clone https://github.com/syndbg/goenv.git ~/.goenv

Now add .goenv to your path in .bash_profile so goenv is a command

vim ~/.bash_profile

Add the lines:

export GOENV_ROOT="$HOME/.goenv"
export PATH="$GOENV_ROOT/bin:$PATH"