# How to uninstall Node-Red

**URL:** https://discourse.nodered.org/t/how-to-uninstall-node-red/19135
**Category:** General
**Created:** [14 December 2019 06:43 UTC](https://discourse.nodered.org/t/how-to-uninstall-node-red/19135 "2019-12-14T06:43:37Z")
**Posts on this page:** 1
**Showing post:** 2

<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 December 2019 12:31 UTC](https://discourse.nodered.org/t/how-to-uninstall-node-red/19135/2 "2019-12-14T12:31:21Z")

</div>

Depends just how clean you want to make things.

1. `sudo npm -g remove node-red`
2. `sudo npm -g remove node-red-admin`
3. `rm -R ~/.node-red`

Should do everything important. That does leave node.js installed though along with npm. To remove those, you can use something like (I've never tested this because I've never wanted to remove node,js from a device):

```auto
sudo apt-get remove nodejs

```

---

_[View the full topic](https://discourse.nodered.org/t/how-to-uninstall-node-red/19135)._
