UPDATE 10/2018
On Node’s download page referenced in step 1. there is now a .zip archive download which contains both the nodejs executable and npm. Unpacking that to a suitable path and adding this path to your PATH environment variable (step 2.) will give you both node and npm (so you can skip steps 3. – 6.).
Let say you want to install it into %userprofile%\Applications\nodejs-lts, let’s name it <NODE_PATH>.
-
Download the LTS
node.exebinary for Windows and copy it to<NODE_PATH>. -
Add
<NODE_PATH>to yourPATHenvironment variable (set PATH=<NODE_PATH>;%PATH%or using Windows user interface) -
Download the stable at
https://registry.npmjs.org/npm/-/npm-{VERSION}.tgznpm package (following the documentation) -
Unzip the
npm-{VERSION}.tgzanywhere (using 7zip for example) -
Launch a
cmdandcdinto the place where you have unzipped npm -
Execute:
node cli.js install -gfornode bin/npm-cli.js install npm -gfon certain versions (thanks to this comment)
The last command is specified in the Makefile for target install, target which the README.md invites to execute when manually installing.