Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use asdf [0] for this. It lets you install and run different versions of any language. I keep a sensible global default if I'm just experimenting with stuff, but for any serious project I'd create a .tool-versions file in its root to specify the exact language version I'm developing and deploying against.

[0] https://github.com/asdf-vm/asdf



Agreed I love asdf I even use it on my Jenkins machines cause it’s a nice consistent way to enforce exactly what tool will be used where.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: