Skip to content

Instantly share code, notes, and snippets.

@anovsiradj
Last active October 27, 2016 04:43
Show Gist options
  • Save anovsiradj/e19f476a71b96e6b99da5b4b629a2553 to your computer and use it in GitHub Desktop.
Save anovsiradj/e19f476a71b96e6b99da5b4b629a2553 to your computer and use it in GitHub Desktop.
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]

@anovsiradj
Copy link
Author

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