Saturday 8 September 2012

Setup NodeJS on Windows box NodeJS

Setup NodeJS on Windows box

This post destine for beginners how want start learning programming in NodeJS.
First, we need to download the latest version of NodeJS from its official website nodejs.org .
Install *.msi file and follow the install wizard.

After install we should add path of NodeJS root folder to environment variables in order to run NodeJS from inside any folder.

Go to "Computer" > "Properties" > "Advanced system settings".

Click "Environment Variables..." button.

There is appear "Environment Variables" form. Go to "System variables" and click to "New..." button. In the "New System  Variable" from add the following:
 Variable name: NODE_PATH
 Variable value: C:\Program Files\nodejs\
save it.
Edit "Path" system variable.
add end of this value ;%NODE_PATH%
Now NodeJS is ready to use.

No comments:

Post a Comment