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

Can't manage to use different version of NPM with specific Node versions #2681

Closed
buondevid opened this issue Dec 8, 2021 · 1 comment
Closed

Comments

@buondevid
Copy link

This is not an issue, more a request of clarification: is this possible with NVM? I want to match a different version of NPM for every Node version installed through NVM.

Thanks

@ljharb
Copy link
Member

ljharb commented Dec 8, 2021

It's possible with node and npm itself, by npm installing the version you want into each individual node version nvm manages.

It's not possible for nvm to switch npm versions, since the npm version exclusively follows the node install.

Duplicate of #964.

@ljharb ljharb closed this as completed Dec 8, 2021
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

2 participants