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

List all Node.js versions installed by pnpm #5546

Closed
1 task done
lvqq opened this issue Oct 24, 2022 · 4 comments · Fixed by #5625
Closed
1 task done

List all Node.js versions installed by pnpm #5546

lvqq opened this issue Oct 24, 2022 · 4 comments · Fixed by #5625
Assignees
Milestone

Comments

@lvqq
Copy link
Member

lvqq commented Oct 24, 2022

Describe the user story

It's hard to know which versions I have installed except enter the installing directory.

Describe the solution you'd like

pnpm env list -g and alias for pnpm env ls -g, inspired by nvm list

@zkochan
Copy link
Member

zkochan commented Oct 24, 2022

Sounds good.

What if we want to list all node.js versions? I think we have a feature request for that as well.

@lvqq
Copy link
Member Author

lvqq commented Oct 25, 2022

I‘m ok with implementing it together, and I tend to remove the global option for that command.

Which one do you prefer?

pnpm env list --remote and alias for pnpm env list -r

Or

pnpm env list-remote and alias for pnpm env ls-remote

The second one is same with nvm. And listing all remote version is too long, maybe a filter is needed as well. For instance, pnpm env ls-remote 14 or pnpm env ls-remote lts.

@zkochan
Copy link
Member

zkochan commented Oct 25, 2022

I vote for the first one.

@lvqq
Copy link
Member Author

lvqq commented Oct 25, 2022

Ok, I will work on implementing it later

@lvqq lvqq self-assigned this Oct 25, 2022
zkochan added a commit that referenced this issue Nov 12, 2022
…ns (#5625)

close #5546

Co-authored-by: Zoltan Kochan <z@kochan.io>
@zkochan zkochan added this to the v7.16 milestone Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants