How to Install Node.js and Npm on Windows 10/Windows 11

With Node.js being a popular runtime environment for JavaScript applications and various tools, it is no wonder that you need to install Node.js on your Windows machine. This tutorial will provide you with a step-by-step guide on how to do that.

Valentin Despa
DevOps with Valentine

--

From where to download Node.js?

If you point your browser to https://nodejs.org/, you will be offered the following options:

Node.js LTS vs Current

So which Node.js version to install? For most use-cases, the LTS (Long Term Support) version is the safest way to ensure that whatever you are trying to run will actually work.

The current version may contain new features or breaking changes and quite often it breaks many tools, even if they are actively maintained.

So click on the LTS version to download the Node.js MSI for Windows.

From where to download npm?

Npm (or the Node Package Manager) already comes bundled with your Node.js download, so you don’t need to install anything else.

Node.js installation steps

--

--

Valentin Despa
DevOps with Valentine

Software developer, educator & overlander • GitLab Hero • AWS Community Builder • Postman Supernova • Imprint: http://vdespa.com/imprint