# Is there a command line command to restart deployed node red flows?

**URL:** https://discourse.nodered.org/t/is-there-a-command-line-command-to-restart-deployed-node-red-flows/35506
**Category:** General
**Created:** [7 November 2020 15:55 UTC](https://discourse.nodered.org/t/is-there-a-command-line-command-to-restart-deployed-node-red-flows/35506 "2020-11-07T15:55:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kes](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kes](https://discourse.nodered.org/u/kes)
#### Post date: [7 November 2020 15:55 UTC](https://discourse.nodered.org/t/is-there-a-command-line-command-to-restart-deployed-node-red-flows/35506/1 "2020-11-07T15:55:51Z")

</div>

Is there a command line command to restart deployed node red flows?

I know I can restart node-red with

`cd /home/pi/.node-red; node-red restart`

Can I restart deployed flows from the command line without a full restart?

---

<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: [7 November 2020 16:44 UTC](https://discourse.nodered.org/t/is-there-a-command-line-command-to-restart-deployed-node-red-flows/35506/3 "2020-11-07T16:44:56Z")

</div>

As is being discussed in [the other thread you have started](https://discourse.nodered.org/t/how-to-listen-for-specific-url-to-restart-node-red/35504) that command doesn't restart node-red, it starts node red as the user root running a flows file called `restart.json`.

---

<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: [6 January 2021 16:45 UTC](https://discourse.nodered.org/t/is-there-a-command-line-command-to-restart-deployed-node-red-flows/35506/4 "2021-01-06T16:45:08Z")

</div>

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