It's neat ~ could have used checks in-between to ensure e.g. `$(go env GOBIN)` is not empty.<p>For something more comprehensive (of course with a larger install size) and the possibility of handling not just Go, I have had good experiences with asdf [1].<p>[1] <a href="https://asdf-vm.com/" rel="nofollow">https://asdf-vm.com/</a>
bob build sytem also has a convenient way to change go version for your projects[1]<p>it uses nix under the hood so it won't mess with your local system<p>[1] <a href="https://bob.build/docs/getting-started/package-management#using-a-package-with-multiple-versions" rel="nofollow">https://bob.build/docs/getting-started/package-management#us...</a>