centos安装nodejs和npm

(1)curl -fsSL https://rpm.nodesource.com/setup_16.x | sudo bash -

(2)sudo yum install -y nodejs

(3)node --version

(4)npm --version