Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Based on the official centos image, install Node.js 10.
Unix prerequisites:
For Python3.7, please refer to Basic Service Series-Centos7 Install Python3.7
wget https://nodejs.org/dist/v10.16.0/node-v10.16.0-linux-x64.tar.xz
tar -xvf node-v10.16.0-linux-x64.tar.xz
mv node-v10.16.0-linux-x64 /usr/local/lib/nodejs/node-v10.16.0-linux-x64/
VERSION=v10.16.0
DISTRO=linux-x64
export PATH=/usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin:$PATH
node -v
Recommended Posts