Live data from Hacker News

Asdf – An Extendable Version Manager

asdf-vm.com

21–30 of 100 posts

Re: Asdf – An Extendable Version Manager

#25
post #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.…

Thank you for asdf-hashicorp. We use it at HashiCorp.

Re: Asdf – An Extendable Version Manager

#27
post #11
post #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.

Mind elaborating on how it manages the database? That sounds useful! Does it install and run the db for you or something?

It manages the version of the database that you run. https://github.com/smashedtoatoms/asdf-postgres

Re: Asdf – An Extendable Version Manager

#29
post #11
post #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.

Mind elaborating on how it manages the database? That sounds useful! Does it install and run the db for you or something?

I'm assuming the author was referring to this plugin: https://github.com/smashedtoatoms/asdf-postgres

Re: Asdf – An Extendable Version Manager

#30
I am using it for python, erlang, elixir and nodejs. It works great on MacOS so far. I used to use a mix of homebrew versions of those tools and some language-specific install scripts like kerl or pyenv.

One of my favorite things is to quickly start a new shell with a specific version to test something: 'asdf shell python $ver'.

I did try direnv as others mentioned here, but I found it a bit too magical and eventually abandoned it.

Post reply on HN