Skip to content

Instantly share code, notes, and snippets.

Last active Oct 27, 2016
What would you like to do?
Windows - Install Node.js and NPM.js

Prepare Windows:

  • Create folder D:/jsbin

Prepare Node.js:

Prepare NPM.js

Prepare: npm.cmd

  • Create batch-file inside /jsbin with name npm.cmd or npm.bat

copas (copy-paste) this to npm batch file:

@echo off
node "%~dp0npm-3.10.8\bin\npm-cli.js" %*

Prepare cli (Finishing):

  • Add D:/jsbin to Windows env-path (howto)

Open Windows command-prompt (close first, if u already open one).

test node:

node --version

test npm:

npm --version

Welcome to the NodeClub.

[sorry for my bad english]


This comment has been minimized.

Copy link
Owner Author

@anovsiradj anovsiradj commented Oct 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment