4 ms·
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
by sergiotapia 6y ago
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.
- nikolay 6y agoThe 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/ https://direnv.net/
- sergiotapia 6y agoCorrect, 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
- richjdsmith 6y agoCouldn't agree more. asdf has made working across multiple computers and projects dead simple.
- pensatoio 6y ago:heavyplus: .tool-versions means everyone on the team knows which version(s) to use for a project, for anything outside of docker. Auto-install is an awesome feature, too.