Earlier quoted context omitted.
Correct, you must have them installed so the `cd` into the directory auto switches. But that's a simple `asdf install elixir 1.2.3` boom you're set
Or just `asdf install` - it will handle all the missing versions.
Asdf – An Extendable Version Manager
31–40 of 100 posts
Re: Asdf – An Extendable Version Manager
#32I'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
#33I'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 Skillshare.
Re: Asdf – An Extendable Version Manager
#34I'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.…
Thanks for sharing direnv, I didn’t know about that but I’ve wished for it before. Great find :)
Re: Asdf – An Extendable Version Manager
#35I'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.
My install of asdf at some point broke so badly, I could not get anything to run. I wish I remembered the exact trouble, but it was bad enough that I just un-installed it in favor of `nvm` for node versioning, and never looked back.
I also use the companion n-install [1] utility to get setup very quickly.
Re: Asdf – An Extendable Version Manager
#36Smart that it’s based on rbenv and the many spin-offs (pyenv, nodenv etc). The name is off putting to me though, because it’s meaningless. Maybe I could alias it to something like xenv and pretend it didn’t bother me.
Re: Asdf – An Extendable Version Manager
#37I'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.…
Re: Asdf – An Extendable Version Manager
#38"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.
Are you browsing with JS turned off? (The page does some JS tricks)
Re: Asdf – An Extendable Version Manager
#39Not the ASDF ( https://common-lisp.net/project/asdf/ ) I was expecting.
Re: Asdf – An Extendable Version Manager
#40I'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?
The general idea is that it installs the binaries and the data into a subdirectory of ~/.asdf, then sets PATH and the other environment variables to point to there. Then pg_ctl start starts the database.
Each project has its own .tool_versions file so you can have different versions of the same database running in parallel. I was doing that with docker containers but this is easier.