Install Node.js 8 on Enterprise Linux Distributions
To install Node.js 8 on Enterprise Linux distros like RHEL, CentOS, and Fedora, you need to run the bash script for and you’ll have the Node.js 8 RPM repository - once you’ve done that, you’ll be ready to go.
If you want to see if your Enterprise Linux distro and version is supported, you can find the full list of distros and *supported *versions for each distro on the GitHub repo.
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
yum install -y nodejs