How can I install npm on Windows without using the Node.js MSI installer?

Yep, had to go the manual route once too.

Here’s what I did to install npm on Windows manually after using nvm:

  1. Go to https://github.com/npm/cli/releases

  2. Download the .zip for your preferred npm version.

  3. Extract it somewhere (I did C:\tools\npm).

  4. Add that folder to your system PATH.

Then run:

bash
Copy
Edit
npm -v

It should now work.

Just make sure your Node version from nvm is still active when using it.

Not the prettiest solution, but it works well if you’re stuck.