moovweb / gvm

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

Allow sharing $GOBIN between versions #412

Open Hades32 opened 1 year ago

Hades32 commented 1 year ago

I'm using commands like go install helm.sh/helm/v3/cmd/helm@v3.9.0 a lot to install tools. I don't really care in which version of Go they were built but with GVM, whenever I switch to a new version of Go, all my previously installed tools are gone.

It would be great to have an option to keep GOBIN stable

dtomlinson91 commented 1 year ago

For those looking for a solution for this in 2022 check out https://github.com/moovweb/gvm/issues/277 which has a few (not perfect) workarounds.

ankitcharolia commented 11 months ago

@Hades32 kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv