Ed Johnson-Williams' microblog

This is for my future reference really but might be handy 🤷‍♂️

Add the nodejs plugin

asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

Install lts

asdf install nodejs $(asdf nodejs resolve lts --latest-available)

Install latest/current

asdf install nodejs latest

Use latest/current for all users

asdf global nodejs $(asdf nodejs resolve latest)

Use lts for all users

asdf global nodejs $(asdf nodejs resolve lts --latest-available)

And use local instead of global to use a different version for that directory

Posted:

Back to all posts