# Install node-red on windows without NPM

**URL:** https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461
**Category:** General
**Created:** [12 August 2020 08:23 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461 "2020-08-12T08:23:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pfe](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@pfe](https://discourse.nodered.org/u/pfe)
#### Post date: [12 August 2020 08:23 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461/1 "2020-08-12T08:23:03Z")

</div>

Hello Forum, I would like to use node-red on a windows computer which bellongs to a company ( with network policies).. My problem is that the "npm install -g --unsafe-perm node-red" can't be performed because admin does not have full acces to the network..  
How can I bring Node-red package locally on the machine and then start installation ?  
Thanks

---

<div class="post-metadata">

### Author: ![Nxito](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nxito/32/88293_2.png) [@Nxito](https://discourse.nodered.org/u/Nxito)
#### Post date: [12 August 2020 09:09 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461/2 "2020-08-12T09:09:38Z")

</div>

if on a machine with internet and npm you execute:  
npm init (to create your package.json) and then  
"npm i node-red" (without the -g option) in a new folder, the local installation of node red will be performed in that folder.  
Then with a usb or something like that you can move it around.

---

<div class="post-metadata">

### Author: ![pfe](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@pfe](https://discourse.nodered.org/u/pfe)
#### Post date: [12 August 2020 09:41 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461/3 "2020-08-12T09:41:41Z")

</div>

HI Nxito, thanks.  
In this folder i have now a folder named node\_modules and a package-lock.json file plus package.json. For the deployement , I copy the parent folder to the machine and then? How I use it?

---

<div class="post-metadata">

### Author: ![Nxito](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nxito/32/88293_2.png) [@Nxito](https://discourse.nodered.org/u/Nxito)
#### Post date: [12 August 2020 10:17 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461/4 "2020-08-12T10:17:30Z")

</div>

to run node-red from that local file, you can access the node " / modules / .bin "folder, where node-red.cmd will be, if you run it directly a folder will be created in the user pc folder ,

but you can run it at the beginning of the folder using from your folder:  
"node\_modules / .bin / node-red.cmd" --userDir "DIR-TO-YOURFOLDER"

---

<div class="post-metadata">

### Author: ![pfe](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@pfe](https://discourse.nodered.org/u/pfe)
#### Post date: [13 August 2020 15:27 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461/5 "2020-08-13T15:27:37Z")

</div>

Hello Nxito,  
Is this trick also usable to transfert locally a node-red package? If yes,then how install this node in a local node-red instance?

---

<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: [12 October 2020 15:27 UTC](https://discourse.nodered.org/t/install-node-red-on-windows-without-npm/31461/6 "2020-10-12T15:27:38Z")

</div>

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