Since the package is linked as nodejs and not the typical node name, we have to add a symlink, otherwise some services won't work correctly as they expect the node command to be available. To install Node and npm via apt-get, run these commands: sudo apt-get update For the newest version, check the other install methods below. NOTE: As of the time of this writing (11/25/15), the binary installed with apt-get is only v0.10.25, while the latest stable version available is v5.1.0, so they're pretty far behind. This way you'll also know the commands to uninstall the package when needed. I always try to install packages through apt-get whenever possible to keep everything in one place. This is, in my opinion, the easiest method. Here are a few of the more popular methods: There are a few different ways you can perform the install, depending on your requirements and customization needs. I find myself Googling this just about every time I set up a new Linux machine, so I thought I'd write up some instructions on a few different ways you can install Node on Ubuntu. It's still more of a manual process than it should be.
For as popular as this JavaScript run-time has become, you might be surprised to find out that it actually still isn't very easy to install Node.js on Ubuntu and other Linux distributions.