Setting up the Node Development Environment
The Node can be installed in multiple ways on a computer. The approach used by you depends on the existing development environment in the system. There are different package installer for different environments. You can install Node by grabbing a copy of the source code and compiling the application. Another way of installing Node is by cloning the GIT repository in all the three environments and then installing it on the system.
Installing Node On Windows (WINDOWS 10):
You have to follow the following steps to install the Node.js on your Windows :
Step-1: Downloading the Node.js ‘.msi’ installer.
The first step to install Node.js on windows is to download the installer. Visit the official Node.js website i.e) https://nodejs.org/en/download/ and download the .msi file according to your system environment (32-bit & 64-bit). An MSI installer will be downloaded on your system.
Step-2: Running the Node.js installer.
Now you need to install the node.js installer on your PC. You need to follow the following steps for the Node.js to be installed:-
- Double click on the .msi installer.
The Node.js Setup wizard will open.
- Welcome To Node.js Setup Wizard.
- After clicking “Next”, End-User License Agreement (EULA) will open.
Check “I accept the terms in the License Agreement”
- Destination Folder
Set the Destination Folder where you want to install Node.js & Select “Next”
- Custom Setup
- Ready to Install Node.js.
- Installing Node.js.
Do not close or cancel the installer until the install is complete
- Complete the Node.js Setup Wizard.
A prompt saying – “This step requires administrative privileges” will appear.
Authenticate the prompt as an “Administrator”
Step 3: Verify that Node.js was properly installed or not.
To check that node.js was completely installed on your system or not, you can run the following command in your command prompt or Windows Powershell and test it:-
C:\Users\Admin> node -v
If node.js was completely installed on your system, the command prompt will print the version of the node.js installed.
Step 4: Updating the Local npm version.
The final step in node.js installed is the updation of your local npm version(if required) – the package manager that comes bundled with Node.js.
You can run the following command, to quickly update the npm
npm install npm –global // Updates the ‘CLI’ client
- You do not need to do anything to the system variables as the windows installer takes care of the system variables itself while installing through the .msi installer
- If you use any other format for installing node.js on your PC, you should put the system variable path for node.js as follows:
PATH : C:\Users\[username]\AppData\Roaming\npm
C:\Program Files\nodejs (Path to the nodejs folder)
- Introduction and Installation of Heroku CLI on Windows machine
- Nodejs | Automatic restart NodeJs server with nodemon
- Introduction and Installation of Git
- Angular 7 | Installation
- Laravel | Installation and Configuration
- Installation of Node.js on Linux
- Materialize | Introduction and Installation
- p5.js | SoundFile Object Installation and Methods
- Slim Framework | Installation and Configuration
- XQuery | Installation and Example
- Installation and Configuration Symfony Framework
- Svelte | Introduction and Installation
- CakePHP Framework | Installation and Configuration
- Introduction and Installation process of Gulp
- Material UI Introduction and Installation for React
- PugJS Basics and Installation
- Ant Design Introduction and Installation for Angular
- Sails.js Basics and Installation
- Vue.js | Introduction & Installation
- Nodejs - Connect MongoDB with Node app using MongooseJS
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.