How to install NodeJS

NodeJS: Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js’ package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

  1. Visit the NodeJS site
  2. Download the package suitable for your OS.
  3. Double click the package to begin installation.
  4. Follow the wizard to complete the installation process. You’ll be prompted for agreeing with legal T&C’s and system password.
  5. A summary of installation will be displayed in the last step. As seen in the above image Node.js and npm were installed successfully at the mentioned path. The path might be different depending on your settings or OS. Node.js package comes along with its own package manager: Node Package Manager or npm. Visit NPMJS site to know more about npm.
  6. To test the installation open your terminal or command prompt and run following command:
    • node –version or node -v Screen Shot 2016-07-09 at 4.23.13 PM
  7. npm installation can be tested in similar way:
    • npm –version or npm -v Screen Shot 2016-07-09 at 4.32.38 PM.png

Hope this helps you with your Node installation.

 

Advertisements

One thought on “How to install NodeJS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s