# Installing Node.JS on Windows

**URL:** https://discourse.nodered.org/t/installing-node-js-on-windows/53450
**Category:** General
**Created:** [9 November 2021 13:21 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450 "2021-11-09T13:21:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [9 November 2021 13:21 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450/1 "2021-11-09T13:21:31Z")

</div>

For those, like myself, who didn't know this.

The official Windows installer for Node.JS now includes the required build tools. Therefore, `npm install -g windows-build-tools` should no longer be needed.

I am about to test this as I'm testing a new installation of Windows 11 if it doesn't work, I will update this post.

@knolleary, I think that the windows section of the install guide will need updating.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [9 November 2021 13:22 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450/2 "2021-11-09T13:22:54Z")

</div>

> [@TotallyInformation](#):
>
> @knolleary, I think that the windows section of the install guide will need updating.

As a non-Windows user, I can't really help with that. If you have an update for the docs you could PR the updates you think should be there.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [9 November 2021 13:24 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450/3 "2021-11-09T13:24:23Z")

</div>

I'm a bit stretched for time as I have some family matters to deal with (I'm just taking a quick break to update my W11 test PC and thought I'd test Node-RED given the recent unpleasent post). I'll try to get to the docs when time permits.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [9 November 2021 13:37 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450/4 "2021-11-09T13:37:52Z")

</div>

> [@TotallyInformation](#):
>
> Therefore, `npm install -g windows-build-tools` should no longer be needed.

Do you know what the effect of running that will be? Will it install loads of stuff again or will effectively be a no-op (or a little-op at least)?

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [9 November 2021 13:56 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450/5 "2021-11-09T13:56:05Z")

</div>

I've not tried any upgrade combinations I'm afraid. This is a clean PC pretty much and it didn't have much on it since it was just a quick test of W11 UI some months back and I haven't had time to touch it since then.

I think that windows-build-tools simply installs the Microsoft C/C++ compiler and some dependent .NET libraries, maybe Python as well if it can't find one. So I _imagine_ that removing that package will have zero effect. But don't moan at me if I'm wrong!!

I've only just noticed that I don't seem to have the package installed on my dev PC either so I probably forgot (it is a fairly new PC) to install it 😀

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [8 January 2022 13:56 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450/6 "2022-01-08T13:56:08Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
