Install Node.js 13 on CentOS 7 and Fedora 31/30/29
We will install Node.js 13 on CentOS 7 and Fedora 31/30/29 via NodeSource Node.js Binary Distributions.
Just run the following command to set up the required repository.
curl -sL https://rpm.nodesource.com/setup_13.x | sudo bash -
After adding the repository, run the following command to install npm with NodeOS 7 and CentOS 7 and Fedora 31/30/29.
sudo yum -y install gcc-c++ make nodejs
Confirm the Node.js version available in the system.
$ node -v v13.1.0
Enjoy your Node.js development on CentOS 7 and Fedora 31/30/29.
Install Node.js 12 LTS on CentOS / Fedora
Install Node.js 12 LTS on Ubuntu / Debian