goenv icon indicating copy to clipboard operation
goenv copied to clipboard

goenv-commands: command not found

Open varac opened this issue 3 years ago • 0 comments
trafficstars

I followed the installation instructions and added this to my ~/.zshrc:

export GOENV_ROOT="$HOME/.goenv"
export PATH="$GOENV_ROOT/bin:$PATH"
eval "$(goenv init -)"
echo 'export PATH="$GOROOT/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="$PATH:$GOPATH/bin"' >> ~/.bash_profile

But when I start a new shell I get this:

/home/varac/.goenv/libexec/goenv-init: line 116: goenv-commands: command not found

/home/varac/.goenv/shims, /home/varac/.goenv/bin and /home/varac/go/bin are in my PATH.

How can I fix this ?

varac avatar Sep 20 '22 06:09 varac