Stop fussing with
rvm or rbenv (ruby),
pyenv or virtualenv (python),
nvm (node),
phpenv (php),
jenv or sdkman (java),
rsvm (rust),
gvm or goenv (go[lang]).
Check this out: it's called asdf.
One tool can replace all of those. It can install other software like helm and k9s, too. It can capture what you install in a .tool-versions file to share with colleagues via git. It's free and Open Source. And works across macOS and Linux.
YMMV with the set-up process but trust me it's worth it: once it's installed and configured in your shell, you'll never look back.
Some example commands:
asdf plugin add golang
asdf install golang latest
asdf global golang latest # sets the default version for your user
asdf local gloang latest # sets the default version for your current dir & subdirsWhen combined with chezmoi and a global .tools-versions file, you can bootstrap a new machine in minutes 🚀
No posts

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.