yum install node version 12

C++
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
Source

Also in C++: