1. add the repository
curl -sL https://rpm.nodesource.com/setup_13.x | sudo bash -
2. remove older/alternative version
yum remove -y nodejs npm
3. install the new version
dnf install nodejs
1. add the repository
curl -sL https://rpm.nodesource.com/setup_13.x | sudo bash -
2. remove older/alternative version
yum remove -y nodejs npm
3. install the new version
dnf install nodejs