Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install Nodejs latest LTS version? #382

Closed
aliahadmd opened this issue Jan 2, 2024 · 2 comments
Closed

How to install Nodejs latest LTS version? #382

aliahadmd opened this issue Jan 2, 2024 · 2 comments

Comments

@aliahadmd
Copy link

It seems there have no LTS version to install but If i run this command asdf nodejs resolve lts --latest-available its available!

@logicalup
Copy link

same issue as this one #369 ?

@augustobmoura
Copy link
Member

You can't install lts versions directly, resolving lts only works for legacy file versions.

# This will NOT work
asdf install nodejs lts

If you need to install a version you can write your own script:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants