gvm icon indicating copy to clipboard operation
gvm copied to clipboard

Allow sharing $GOBIN between versions

Open Hades32 opened this issue 3 years ago • 2 comments

I'm using commands like go install helm.sh/helm/v3/cmd/[email protected] 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

Hades32 avatar Aug 26 '22 13:08 Hades32

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.

dtomlinson91 avatar Nov 28 '22 22:11 dtomlinson91

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

ankitcharolia avatar Aug 05 '23 15:08 ankitcharolia