

To get the Nightly version (testing) winget install 4.

Let’s see how to download them using the command given below, choose only one as per the version you want on your system.įor Node.js & NPM LTS version, the command will be: winget install įor Node.js and NPM Current version winget install OpenJS.NodeJS You will see all the available versions of Node to install on Windows using the Winget package manager such as LTS, Current, and Nighlly. Som on your command prompt or terminal, type the given command to check the availability of Nodejs packages: winget search node.js Node.js comes with NPM, so installing it will also configure the package manager. Command to Install Node.js LTS or Current version You will get something like the below in the given screenshot which confirms, the package manager is working fine. if not, then you can install it manually from GitHub. So, first, let’s check whether it is available on our system or not. Winget is a package manager developed by Microsoft for its Windows operating system to easily install an application using the command line. Those who are not interested in the CLI way can still go for the traditional GUI way for downloading and installing Node.js and NPM on Windows 10 or 11. However, you don’t need to do that because Windows 10 and 11 come with an inbuilt package manager like Linux known as Winget.Īnd in this article, we will provide a step-by-step guide to installing Node.js and NPM on Windows 10 or 11 using the command terminal. When it comes to Windows, most of the time users manually visit the website of Nodejs to download its executable file to perform the installation.

Whereas, to install dependencies and other supported packages to build an app, NPM, a Node Package Manager is there.Īlthough Node.js is cross-platform, its process of installation is different as per the operating system you are using. Nodejs which offers a back-end JavaScript runtime environment allows developers to build scalable network applications. Both are open-source and cross-platform, hence the operating system is not a limitation at all. Node.js and its NPM which stands for ‘Node package manager’ are widely used by developers around the world for developers’ modern applications. This tutorial will discuss the command line way to install Node.js and NPM quickly on Windows 10 or 11 using the PowerShell or Command prompt.
