moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
9.91k stars 522 forks source link

command not found: gvm #374

Closed huabin closed 3 years ago

huabin commented 3 years ago

Hello,

First time to find this project, awesome and thanks. There's a bug.

Description

command not found: gvm if the iTerm is closed then reopen.

Reproduce

More details

Temporary solution

Run source /Users/<Username>/.gvm/scripts/gvm again. It will work.

huabin commented 3 years ago

I found the reason and fixed.

shwetasah-cape commented 3 years ago

Hi @tourcoder . I am facing the same issue. How did you fix it?

huabin commented 3 years ago

Sorry @shwetasah-cape, I don't use it anymore. I fixed the issue, but didn't work well. Instead, I am trying to write a simple one which is enough to me, /glv-go/glv.

You can search on GitHub, there're excellent tools of this kind, good luck.

dgutt17 commented 1 year ago

I know this is closed but this is how I fixed the issue for myself.

In my bash_profile, I added this: source "/Users/<Username>/.gvm/scripts/gvm". You can also try your bashrc file.