install nodejs 12 using yum code example Example: yum install node version 12 curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -