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

Listing locally installed versions as documented with nodenv build -L does not work #854

Closed
martinblostein opened this issue Mar 16, 2024 · 3 comments · Fixed by #876
Closed

Comments

@martinblostein
Copy link

Following the instructions here:

# list latest stable versions:
$ nodenv install -l

# list all local versions:
$ nodenv install -L

# install a Node version:
$ nodenv install 16.13.2

The first and last commands work as described, but the middle one does not seem to be recognized. nodenv versions seems to be the correct command for this, but I am not sure if that should be substituted in or if nodenv install is supposed to have such a command.

@jasonkarns
Copy link
Member

Acknowledged! This is a feature that was introduced upstream rbenv/ruby-build#1402 and so the readme got the updated docs when we pulled in upstream changes. However, ruby's definition of "stable" differs from node's so I'm not surprised this functionality doesn't work yet with node-build.

As the install subcommand is a plugin provided by node-build, I'm going to move this issue there. But it's definitely a feature that didn't fully port from rbenv to nodenv with the latest update.

Thanks for reporting!

@jasonkarns jasonkarns transferred this issue from nodenv/nodenv Mar 19, 2024
@jasonkarns
Copy link
Member

This will be resolved soon with #876. If you're able to give that branch a try before I land it next week, I'd love to hear any feedback.

@jasonkarns
Copy link
Member

This has now been released. https://github.com/nodenv/node-build/releases/tag/v5.0.0

Happy to hear feedback and if it fixes the issue for you.

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

Successfully merging a pull request may close this issue.

2 participants