How to uninstall Node-Red

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):

sudo apt-get remove nodejs
3 Likes