Reputation: 150956
If the requirement is to use Node.js v4.x, and npm v3.x, I was able to use
nvm install --lts=argon
to install Node v4.8.3 LTS. But on the Node / npm release page, it says Node v4.8.3 comes with npm 2.15.11. And npm 3.x comes with only Node v5.x.
In this case, how can we make npm v3.x while keeping Node at version 4.x?
(and since npm v3.x can be 3.3.6 to 3.10.10, which version should be installed?)
Upvotes: 0
Views: 88
Reputation: 150956
I think I found the answer. It is to use npm install
to upgrade itself:
npm install [email protected] -g
(or any version you want).
Upvotes: 2