NodeJS
The easiest way to install the current version of Node JS is with the NodeSource.com setup script. Just modify for Node JS version.
curl -sL https://rpm.nodesource.com/setup_16.x | bash -yum -y install nodejs
Here's how to setup the yarnpkg.com yum repository and install the yarn build tool.
yum -y install pbase-preconfig-yarnyum -y install yarn
More about Node JS
Read more about the Nodesource at:
https://nodesource.com/
More about Yarn
Read more about the Node JS system at:
https://yarnpkg.com/
"Fast, reliable, and secure dependency management for JavaScript"