# Install node-red withtout network connection

**URL:** <https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959>\
**Category:** General\
**Created:** [14 February 2019 12:26 UTC](https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959 "2019-02-14T12:26:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fangzhu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fangzhu/32/5796_2.png) [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Post date:** [14 February 2019 12:26 UTC](https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959/1 "2019-02-14T12:26:08Z")

</div>

Is it possible to install node-red without network connection?  
I am using redhat with root user.  
After I downloaded the latest package from [Release 0.19.5: Maintenance Release · node-red/node-red · GitHub](https://github.com/node-red/node-red/releases/tag/0.19.5), I unnzip the package and inside folder of node-red-0.19.5 where package.json locates, I used command of "npm install".  
The installation stuck at fetchMetadata: sill install loadAllDepsIntoIdealTree.  
I tried to use verbose but it didn't give me more information.:

> npm install --verbose  
> npm info it worked if it ends with ok  
> npm verb cli [ '/usr/local/nodejs/node-v8.15.0-linux-x64/bin/node',  
> npm verb cli '/bin/npm',  
> npm verb cli 'install',  
> npm verb cli '--verbose' ]  
> npm info using npm@6.4.1  
> npm info using node@v8.15.0  
> npm verb npm-session 31669ceacd9bdb44  
> npm info lifecycle node-red@0.19.5~preinstall: node-red@0.19.5  
> npm timing stage:loadCurrentTree Completed in 21ms  
> npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms  
> npm timing stage:loadIdealTree:loadShrinkwrap Completed in 10ms  
> [.................] \ fetchMetadata: sill install loadAllDepsIntoIdealTree

---

<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:** [14 February 2019 16:52 UTC](https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959/2 "2019-02-14T16:52:15Z")

</div>

The easiest way is to install it normally on an equivalent platform _with_ the Internet. Then you can copy everything over.

The standard Node-RED doesn't lend itself especially to this however. You might like to consider following my alternate install approach which keeps Node-RED and its dependencies and data all under a single folder. That way, you can simply zip everything up, put it on a flash drive and copy over to the other device.

> **[TotallyInformation/alternate-node-red-installer](https://github.com/TotallyInformation/alternate-node-red-installer)**
>
> An alternative installer for Node-RED. Avoids global installs, no admin rights required. - TotallyInformation/alternate-node-red-installer

---

<div class="post-metadata">

**Author:** ![fangzhu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fangzhu/32/5796_2.png) [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Post date:** [15 February 2019 07:17 UTC](https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959/3 "2019-02-15T07:17:14Z")

</div>

Dear Julian,  
This helped a lot! Thank you very much.  
Now I could install node-red in my local virtual machine which has internet connection, then transfer the package into another env which does not have internet connection.
