First, we will cover using the Ubuntu package manager, called apt, as Ubuntu is one of the most popular Linux systems. If you are using a different distribution, the process should be very similar. The only difference is the name of your package manager. Open a terminal window and enter the following commands to install Node for Ubuntu:
$ sudo apt-get update
$ sudo apt-get install nodejs
It's that simple; now the latest version of Node is installed and ready for you to begin using. These same commands will update Node when a new version is available.