# Failure to install Windows build tools

**URL:** <https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144>\
**Category:** General\
**Tags:** windows\
**Created:** [25 August 2021 06:01 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144 "2021-08-25T06:01:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kakyoism](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kakyoism/32/46283_2.png) [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Post date:** [25 August 2021 06:01 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144/1 "2021-08-25T06:01:26Z")

</div>

Being a newbie, by following the Windows setup instruction

[https://nodered.org/docs/getting-started/windows#2-install-node-red](https://nodered.org/docs/getting-started/windows#2-install-node-red)

I'm trying to install windows-build-tools, but failed miserably.

I've done a lot of internet research on this topic and found that the only working way on my Windows-10 box was to install windows-build-tools@4.0.0 instead of the latest version.

However, even this causes unwanted side-effects

- Python 2.7 required by windows-build-tools would override Python 3 that our tech depends upon
- System PATH would be polluted with repetitive folders

So I'm wondering if this installment is simply optional. As I understand, it's not required for Node-RED to function, but only needed by some generic Node.js modules and community nodes that may require building native binaries, correct?

If so, can I simply ignore this toolchain and start using Node-RED?

Thanks.

---

<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:** [25 August 2021 06:59 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144/2 "2021-08-25T06:59:48Z")

</div>

The core of Node-RED doesn't require the build tools. You should be able to install and run Node-RED without them.

But you may well find some 3rd party nodes won't install without them. See how you get on.

---

<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:** [25 August 2021 08:34 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144/3 "2021-08-25T08:34:38Z")

</div>

There are quite a lot of things related to node.js that you need the build tools for. Thankfully, there are several ways to install them. Any node.js module with a C++ library that doesn't have a pre-build Windows executable will need them to compile the source-code on installation. Typically, anything that interfaces with hardware or that needs particularly high performance or utilises some kind of C++ library.

Firstly, there is a shortcut created when you install Node.js called "Install Additional Tools for Node.js" which is a batch file.

You can also install them via the Visual Studio Installer which you can freely download from Microsoft. When you have that, search for "Visual Studio Build Tools 2019". You can also use the same tool to keep the build tools updated.

---

<div class="post-metadata">

**Author:** ![kakyoism](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kakyoism/32/46283_2.png) [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Post date:** [25 August 2021 09:42 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144/4 "2021-08-25T09:42:09Z")

</div>

Thank you guys for the clear answers!

---

<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:** [24 October 2021 09:42 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144/5 "2021-10-24T09:42:40Z")

</div>

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