07-21-2023, 04:16 PM
To install NodeJS 6.x execute the following commands:
curl -sL
yum install nodejs --enablerepo=nodesource
**Update**
You can install NodeJS 7 and 8 in the same way. Just specify the version you need instead of 6 in the command above.
**Update**
To update to NodeJS 16 (or any other version) do the following:
rm -rf /etc/yum.repos.d/nodesource-el*
curl -sL
yum install nodejs --enablerepo=nodesource
curl -sL
[To see links please register here]
| sudo -E bash -yum install nodejs --enablerepo=nodesource
**Update**
You can install NodeJS 7 and 8 in the same way. Just specify the version you need instead of 6 in the command above.
**Update**
To update to NodeJS 16 (or any other version) do the following:
rm -rf /etc/yum.repos.d/nodesource-el*
curl -sL
[To see links please register here]
| sudo -E bash -yum install nodejs --enablerepo=nodesource