Live data from Hacker News

Asdf – An Extendable Version Manager

asdf-vm.com

1–10 of 100 posts

Re: Asdf – An Extendable Version Manager

#2
"Please head over the documentation site" is a link back to the site. The ballad links to an old repo (fortunately Github redirects it) The all-plugins page 404's.

After giving up on the website I look at the code. It's a shell script. Wonderful.

I'll stick with Nix any day. Or maybe conda.

Re: Asdf – An Extendable Version Manager

#3
I've been using it since 2017 for an Elixir/Phoenix backend, React frontend and PostgreSQL database. It works very well and spares me from having to use three language managers (one for Elixir, one for Erlang and one for JS) plus a docker container for PostgreSQL. I was pleasantly surprised that it manages the database too.

Re: Asdf – An Extendable Version Manager

#5
asdf makes my life so much easier seriously, it's amazing. Try it!

I have a .tool-versions file in code repo that lists what I need for a project.

    elixir 1.2.3
    erlang 1.2.3
    nodejs 1.2.3
Whenever I `cd` into the folder, asdf automatically uses the right versions for me. I don't have to worry about anything. Razer sharp scalpel of a tool.

Re: Asdf – An Extendable Version Manager

#7
I've been using it and has contributed to it, but I wish it supported out of the box GitHub-based release binaries as 90% of my code for different vendors was relatively the same, so, instead of having multiple identical repositories, I created one, which uses introspection [0].

I wish this was available out of the box to handle literary 90% of the tools.

Also, I typically pair it with direnv [1] for even more magic.

[0]: https://github.com/Banno/asdf-hashicorp

[1]: https://direnv.net/

Re: Asdf – An Extendable Version Manager

#8

"Please head over the documentation site" is a link back to the site. The ballad links to an old repo (fortunately Github redirects it) The all-plugins page 404's. After giving up on the website I look at the code. It's a shell script. Wonderful. I'll stick with Nix any day. Or maybe conda.

The all-plugins page works fine for me, and is no Shell script: https://asdf-vm.com/#/plugins-all

Re: Asdf – An Extendable Version Manager

#9

asdf makes my life so much easier seriously, it's amazing. Try it! I have a .tool-versions file in code repo that lists what I need for a project. elixir 1.2.3 erlang 1.2.3 nodejs 1.2.3 Whenever I `cd` into the folder, asdf automatically uses the right versions for me. I don't have to worry about anything. Razer sharp scalpel of a tool.

The only issue is (was?) that you need to preinstall these unless this has changed in the past year. When I integrated it with direnv [0], I made the missing ones autoinstall.

[0]: https://direnv.net/

Post reply on HN