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