how to remove node 4.1 from one-click app

Posted October 7, 2015 5.1k views

I would like to remove node 4.1.0 from Ubuntu 14.04 Node.js one click app. I need an older node version instead. Should I go and remove binary by hand, or is there some other way?

1 comment
  • hey mate,

    i am sure you sorted this, but if anyone lands here either destroy the image and just download ubuntu 14.0.4

    or download nvm and change versions docs are on github just type nvm github into google

    you can also delete it if your super keen i guess just try apt-get remove node or nodejs

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I would recommend just rebuilding your droplet from the control panel. Click on your droplet, then on Destroy, In the bottom section, select the default Ubuntu 14.04 image and click Rebuild from image. You will now have a stock Ubuntu 14.04 droplet.

You can then install either the stable version provided by Ubuntu or use a PPA to install a slightly newer version. This tutorial will guide you in this process. Since the node.js one-click keeps up with the latest releases, the copy of node.js is built from source and not easily removable via a package manager.

by Justin Ellingwood
Node.js is a popular Javascript platform that can be used to build web applications quickly and easily. Node.js uses Javascript on both the front-end and back-end to create a more consistent experience for developers. In this guide, we'll get you up and running with Node.js on an Ubuntu 14.04 server.
  • ok, thanks. I was hoping to avoid that, as I had already set up some other things on the server. But, will take only half an hour or so anyway. Will be fine.

    • Simply removing the binary and installing from a PPA or the Ubuntu repo would work but would leave other files around your filesystem. If that’s not a concern, it will work. Best practice would be to start over with a clean droplet though.