<p>Depends on how you started the node. If it was started as a systemd service, you'd run the following: <code>sudo systemctl stop &lt;NODE_SERVICE_NAME&gt;</code></p>
<p>If the node was started using the raw cli command <code>cardano-node run</code>, then you can just run <code>ctrl-c</code> in the same terminal that the node is running in, and it will perform a graceful shutdown.</p>

CC BY-SA 4.0
2021-12-19T15:06:20.287Z
2021-12-19T15:06:20.287Z
zhekson
<p>What is the command or process to gracefully stop a cardano-node instance from the CLI?</p>

<cardano-cli><cardano-node>
How to stop cardano-node from the CLI?
# How to stop cardano-node from the CLI?

(Asked by: username_0 on 2021-12-19)

What is the command or process to gracefully stop a cardano-node instance from the CLI?

**Tags:** cardano-cli, cardano-node

---

## 1 answers

### Answer by username_1 on 2021-12-19. Score: 2 | Accepted answer

Depends on how you started the node. If it was started as a systemd service, you'd run the following: `sudo systemctl stop`

If the node was started using the raw cli command `cardano-node run`, then you can just run `ctrl-c` in the same terminal that the node is running in, and it will perform a graceful shutdown.


---

