# How to find where my node-red is installed?

**URL:** <https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274>\
**Category:** General\
**Created:** [1 September 2020 01:32 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274 "2020-09-01T01:32:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gene-code](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gene-code/32/28011_2.png) [@gene-code](https://discourse.nodered.org/u/gene-code)\
**Post date:** [1 September 2020 01:32 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/1 "2020-09-01T01:32:04Z")

</div>

I am newbie to Ubuntu

I have node-red running since I can access its UI from IP address.  
But I am not sure where it is installed. This is because I need to cd to the install folder  
to npm beta nodes.

---

<div class="post-metadata">

**Author:** ![wb666greene](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wb666greene/32/6534_2.png) [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Post date:** [1 September 2020 02:57 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/2 "2020-09-01T02:57:42Z")

</div>

Should be in /home/YourUserName/.node-red

The . makes the node-red folder "hidden" Not sure why they did this, but it is what it is.

---

<div class="post-metadata">

**Author:** ![gene-code](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gene-code/32/28011_2.png) [@gene-code](https://discourse.nodered.org/u/gene-code)\
**Post date:** [1 September 2020 03:19 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/3 "2020-09-01T03:19:08Z")

</div>

Thanks for your reply. But unfortunately it is not there.  
Could not find any .node-red folder.

I tried cd .node-red in ~ folder and it failed.  
"bash: cd: .node-red: No such file or directory"

I found the folder.  
Somehow installed in ~/nodereddata/ instead.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [1 September 2020 05:57 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/4 "2020-09-01T05:57:50Z")

</div>

That is strange, how did you install node-red ?

On Ubuntu you can use the script [as documented here](https://nodered.org/docs/getting-started/raspberrypi).

After which you should be able to `cd ~/.node-red`

---

<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:** [1 September 2020 07:05 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/5 "2020-09-01T07:05:18Z")

</div>

+1 for installing using the recommended script as suggested by @bakman2, then everything will be in the usual place. You should not need to uninstall anything first unless you have done something unusual in your setup so you can give it a go to find out.

If you still want to work out where is is at the moment then, assuming node-red is running automatically on boot, if you run this after a reboot  
`grep -i "node-red" /var/log/syslog`  
it should show you the startup log for node-red.

---

<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:** [1 September 2020 07:10 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/6 "2020-09-01T07:10:11Z")

</div>

Are you using a docker image by any chance?

---

<div class="post-metadata">

**Author:** ![gene-code](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gene-code/32/28011_2.png) [@gene-code](https://discourse.nodered.org/u/gene-code)\
**Post date:** [1 September 2020 07:56 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/7 "2020-09-01T07:56:04Z")

</div>

Yes. Turns out the machine I am working on is using docker. Just found out about it.  
So the ~/nodereddata is a persistent storage folder set by docker.

---

<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:** [1 September 2020 08:05 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/8 "2020-09-01T08:05:24Z")

</div>

If you don't have a good reason for using docker then probably best not to. It adds complications if you need to access system resources. If you do stick with docker then mention that if asking further questions as it is often a significant factor.

---

<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:** [31 October 2020 08:05 UTC](https://discourse.nodered.org/t/how-to-find-where-my-node-red-is-installed/32274/9 "2020-10-31T08:05:24Z")

</div>

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