,

Installing Node JS in Windows 11 2023: A Guide by Hari Perisetla #nodejs #windows11 #installation

Posted by

How to install Node JS in Windows 11

How to install Node JS in Windows 11

By Hari Perisetla

Node.js is a popular platform for building fast and scalable network applications. If you are a Windows 11 user and want to use Node.js for your development projects, you can follow these simple steps to install Node.js on your system.

Step 1: Download Node.js

Go to the Node.js website (https://nodejs.org/) and download the Windows installer for the LTS version of Node.js. Make sure to choose the correct version for your system architecture (32-bit or 64-bit).

Step 2: Run the installer

Once the installer is downloaded, double-click on it to run the installation wizard. Follow the on-screen instructions and choose the default settings unless you have a specific reason to change them.

Step 3: Verify the installation

After the installation is complete, open a command prompt or PowerShell window and type the following command:

node -v

If Node.js is installed correctly, you should see the version number of Node.js printed to the console. You can also verify the installation of npm (Node Package Manager) by typing:

npm -v

Step 4: Set up the environment variables

In order for Node.js and npm to work properly from the command line, you need to set up the environment variables. To do this, right-click on the Start button and select “System”. Then, click on “Advanced system settings” and then “Environment Variables”. In the “System Variables” section, find the “Path” variable and click “Edit”. Add the following two paths to the list of paths:

C:Program Filesnodejs
%AppData%npm

Click “OK” to save the changes.

Step 5: Test Node.js and npm

Open a new command prompt or PowerShell window and type the following command to create a simple Node.js application:

npm init -y

This will create a basic “package.json” file for your Node.js application. You can then install a package using npm by typing:

npm install package-name

Replace “package-name” with the name of the package you want to install.

That’s it! You have successfully installed Node.js on your Windows 11 system. You can now start building and running Node.js applications on your machine.

0 0 votes
Article Rating
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@vaibhavshukla250
11 months ago

Waiting for further vedios
Can please make tutorial in Hindi?

@vaibhavshukla250
11 months ago

Sir it's a humble request to you please provide the complete tutorial for react and from beginning