Node.
js Installation Guide
Node.js Installation Guide
Installation of Node.js on Windows, Linux & Mac OSX
Table of Contents
Install Node.js on Windows ………………………………………………………………………………………….…………...……3
Install Node.js on Linux.........................................................................................................................8
Install Node.js on Mac OS ....................................................................................................................9
Page 1
Node.js Installation Guide
1. Installing Node.js on Windows
We can set up Node.js on Windows as follows:
Step 1: Go to https://nodejs.org/
Page 2
Node.js Installation Guide
Step 2: Download the Installer for Node.js for Windows:
Click on the Installer link for 32-bit or 64-bit based on your system architecture. (To find out what
architecture your computer system has: go to Command Prompt and type: wmic os get osarchitecture)
This will download the installation wizard for Node.js on Windows
Step 3: Start the Installation Wizard
Double click on the Installation Wizard you have just downloaded (Usually in the Downloads folder)
Page 3
Node.js Installation Guide
Step 4: Once the Installation Wizard Starts, click on Next.
Step 5: Node.js License / Agreement
Go through the Node.js License and Click on the “I Agree” checkbox. Then Click Next
Page 4
Node.js Installation Guide
Step 6. Folder Path to Install Node.js:
Select the folder path to Install Node.js. The default is C:\Program Files\Node.js (This is recommended)
Step 7. Custom Setup to choose Features to install:
Click Next to Proceed.
Page 5
Node.js Installation Guide
Step 8. Ready to install:
Click Install to proceed.
Step 9. Installation Progress
Wait while the Installation completes
Page 6
Node.js Installation Guide
Step 10. Installation Complete
Click Finish to complete the Installation.
To test if Node.js is working, Click on 'Node.js Command Prompt' that appears under Programs.
Page 7
Node.js Installation Guide
2. Install Node.js on Linux
We can set up Node.js on Ubuntu as follows (make sure you have the apt-get package manager:
Enter the following in the Shell:
For Earlier versions of Ubuntu:
For other versions of Linux, refer to: https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
Also, you can download the Node.js pre-built binaries from the nodejs.org website and install from there
Page 8
Node.js Installation Guide
3. Install Node.js on Mac OS
We can set up Node.js on Mac As follows:
Step 1: Go to https://nodejs.org/
Step 2: Download the Installer for Node.js for Mac OS:
Click on the Installer link for Mac OSX Installer .pkg (Universal)
Page 9
Node.js Installation Guide
Step 3: Start Installer:
Double Click on the Installer (.pkg) file in your downloads folder. This will open up the Installation Wizard.
Click Continue to proceed.
Step 4: Node.js License
Go through the License document that appears and click Continue.
Page 10
Node.js Installation Guide
Step 5: Accept the Terms of the License
Click Accept to Agree to the Software License Agreement and proceed.
Step 6: Start Installation
Click Install to proceed.
Page 11
Node.js Installation Guide
Step 7: Installation Progress
Wait till Node.js finishes installation.
Step 8: Installation complete
Click Close to complete Installation. To test if Node is working, open the Terminal and type node –version.
This will display the current node version if installed successfully
Page 12