How to Install Node on Linux the Easy Way.
I recently started working on a few major NodeJS project, and found that installing the latest LTS release could be rather cumbersome on Linux. The application we’re developing is being hosted on Heroku, and will not be using a Docker container, and for a few reasons we would rather develop locally rather than in a container. Here is how I installed NodeJS and NPM on my Linux installations, and I found it quite easy. While this tutorial will be using Ubuntu’s apt
and Arch Linux’s pacman
, the process should be similar for most distributions. See here for more information about installing NodeJS and NPM via your package manager.