

The nodejs website provides official Linux package as portable tarball. To get it, go to snapcraft.io/node Option 2: Install & setup the official tarball Nodejs Snap packageĪs an universal package format, the Snap package also works in other Linux. And, they are available in both modern 64-bit and ARM 32/64 CPU architectures. Then use the top-right source selection box to choose a desired version to install.Īs you can see, not only for current versions, user can even install the old Node.js 6, 8, 9, 10, 11, 12, 13, 14, 15 and 17 via Snap. Ubuntu user (since 20.04) can easily search for and install ‘ nodejs‘ from Ubuntu Software App. It’s a containerized software package runs in sandbox. The OpenJS Foundation offers official Snap package for Node.js 18.x, 16.x, 14.x. Though the title said for Ubuntu 22.04, the methods below also work in other Linux, such as Debian, Fedora, CentOS, RHEL, and more. As well, the popular nodesource repository offers native. For the latest version, the software provides official Snap package and portable Linux tarball. Node.js is available in Ubuntu system repositories, but always old. This simple tutorial shows how to install and setup Node.js, the popular JavaScript runtime environment, in Ubuntu 22.04 LTS.
