- Get node binary (node.exe) from http://nodejs.org/download/
- Create the folder where node will reside and move node.exe to it
- Download the last zip version of npm from http://nodejs.org/dist/npm
- Unpack the zip inside the node folder
- Download the last tgz version of npm from http://nodejs.org/dist/npm
- Open the tgz file and unpack only the file bin/npm (without extension) directly on the node folder.
- Add the the node folder and the packages/bin folder to PATH
- On a command prompt execute
npm install -g npm
to update npm to the latest version
Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
Hi @Ocean-OS
In your case I do not recommend a portable version of node. It sounds like your Electron is looking for a system-wide installation.
These days its extremely easy to install node (npm is installed automatically along with node).
Assuming you are using Windows, please run PowerShell as an administrator and run these two commands:
After the install is done, close PowerShell, and open it again as an administrator, then...
Just follow the prompts for each step