Install Node.js 13 on CentOS 7 & Fedora 32/31/30/29
We’ll install Node.js 13 on CentOS 7 & Fedora 32/31/30/29 from the NodeSource Node.js Binary Distributions.
Just run the command below to setup the repository required.
curl -sL https://rpm.nodesource.com/setup_13.x | sudo bash -
Once the repository is added, run the commands below to install Node.js 13 on CentOS 7 & Fedora 32/31/30/29 together with npm.
sudo yum -y install gcc-c++ make nodejs
Confirm the Node.js version available in your system.
$ node -v v13.1.0
Enjoy your Node.js development on CentOS 7 & Fedora 32/31/30/29.