DEV Community

Cover image for Uninstall node.js from Ubuntu server
Dalitso Kasonde
Dalitso Kasonde

Posted on

2 1

Uninstall node.js from Ubuntu server

To uninstall node.js from Ubuntu server.

Here are some commands to run.

To remove the node package but keep the configuration file run :

sudo apt-get remove nodejs

To remove both the node package and it's configuration files run :

sudo apt-get purge nodejs

The final step is to remove any unused files and free up disk space. To do this we run

sudo apt-get autoremove

We have successfully uninstalled node.js and freed up space.

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay