# Terminal command to select newly deployed node-red project?

**URL:** <https://discourse.nodered.org/t/terminal-command-to-select-newly-deployed-node-red-project/8576>\
**Category:** General\
**Created:** [4 March 2019 03:34 UTC](https://discourse.nodered.org/t/terminal-command-to-select-newly-deployed-node-red-project/8576 "2019-03-04T03:34:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rando](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rando](https://discourse.nodered.org/u/rando)\
**Post date:** [4 March 2019 03:34 UTC](https://discourse.nodered.org/t/terminal-command-to-select-newly-deployed-node-red-project/8576/1 "2019-03-04T03:34:01Z")

</div>

I've created a .deb package that deploys my node-red project into the correct directory structure. However when I start node-red it uses a default flows file. Is there a command that I can run after deployment that will set my newly deployed files as the current project? Or is it a line I can add to the settings file? Thanks!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [4 March 2019 07:16 UTC](https://discourse.nodered.org/t/terminal-command-to-select-newly-deployed-node-red-project/8576/2 "2019-03-04T07:16:37Z")

</div>

You can either pass the flow fie name as a command line parameter when starting Node-RED or look at the setting file line 68

---

<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:** [4 March 2019 08:17 UTC](https://discourse.nodered.org/t/terminal-command-to-select-newly-deployed-node-red-project/8576/3 "2019-03-04T08:17:47Z")

</div>

Is it just the flows file that is the wrong one or is it using the wrong settings file also? The flows file that it runs defaults to one containing the server name, so if the same flow is to run on multiple servers you can use the command as @dceejay suggests.

---

<div class="post-metadata">

**Author:** ![rando](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rando](https://discourse.nodered.org/u/rando)\
**Post date:** [5 March 2019 17:05 UTC](https://discourse.nodered.org/t/terminal-command-to-select-newly-deployed-node-red-project/8576/4 "2019-03-05T17:05:08Z")

</div>

Thanks dceejay, adding that line to the settings file was exactly what I needed.
