Install nodejs on RHEL7
Dec 25, 2020
- Check the latest version of nodejs available on site
https://nodejs.org/en/say it is LTS- 14.15.3 and Current — 15.5.0
2. Add Node.js Yum Repository
#curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
or
#curl -sL https://rpm.nodesource.com/setup_15.x | sudo -E bash -
3. Install Node.js
#yum install nodejs
4. Check Node.js and NPM Version
#node -v
#npm -v