# Install node red

**URL:** <https://discourse.nodered.org/t/install-node-red/23157>\
**Category:** General\
**Created:** [16 March 2020 06:01 UTC](https://discourse.nodered.org/t/install-node-red/23157 "2020-03-16T06:01:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [16 March 2020 09:47 UTC](https://discourse.nodered.org/t/install-node-red/23157/4 "2020-03-16T09:47:05Z")

</div>

npm has two ways of installing modules - either as a local module or a global module.

When installed as a global module (by using the `-g` option) then it will place any scripts the module provides onto your path so they can be run from anywhere.

When installed as a local module (as you are doing here) then it does _not_ put the scripts onto your path.

To run node-red when it has been installed into a local directory you would run:

`node node_modules/node-red/red.js`

You may also want to look at [New Utility: alternate-node-red-installer](https://discourse.nodered.org/t/new-utility-alternate-node-red-installer/13490)

---

_[View the full topic](https://discourse.nodered.org/t/install-node-red/23157)._
