How to Install NodeJS on CentOS 7

cd /

wget https://nodejs.org/dist/v12.15.0/node-v12.15.0.tar.gz

sudo tar –strip-components 1 -xzvf node-v* -C /usr/local

node –version

cd /usr/local/lib/node_modules
npm i csslint
npm i stylelint