![]() ![]() With this, you will have the version of Node.JS that you prefer. Use the below command to check the version when installation is complete. This page even maintains installation instructions for Debian, Redhat, CentOS Linux distribution. So you have the option to choose the old as well as the latest version of Node depending on your preference and requirement.įor other versions, please visit the official binary distribution on GitHub where you will find installation instructions for the older versions. That is, we can choose between the 10.x, 12.x, 13.x, 15.x, and 16.x branches. ![]() The interesting thing about this method is that there is one repository for each major version of Node. Node.JS gives us some external repositories to facilitate the installation. Method 2 – Using an external repository(Node binary) So, use the below alternate methods to get the latest version of Node installed. Here, the version is 10.19.0 which is not the latest one. Now, let’s check the version of Node installed using the command given below. Enter ‘Y’ when the system prompts you to continue. Then, install Nodejs along with the NPM package manager as shown below. Open the terminal and refresh the APT cache. This is the way you can install it using the apt command. That should be fine for most Linux Users. That means the version of Node that is in the Ubuntu repositories may be outdated. However, Ubuntu does not update the major version of its packages. The main advantage here is the ease and stability. Node is available in the official Ubuntu repositories. Method 1 – Install using default Ubuntu Repositories We are covering all the installation methods below but, you should choose either. Each has its own advantages and convenience. ![]() You can use the default Ubuntu repository, Binary provided by Nodesoure or using NVM script. ![]() There are 3 different ways to install NodeJS on Ubuntu. Nodejs is available for the Linux platform and here, we will see how to install Node.js and NPM on Ubuntu 20.04/18.04. It is becoming more and more popular among web developers around the world. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |