Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Node.js 官网

安装 Node.js

curl -sL | sudo -E bash

sudo apt install -y nodejs

查看 Node.js 版本

sudo node -v

查看 NPM 版本

npm is the package manager for JavaScript and the world’s largest software registry. Discover packages of reusable code — and assemble them in powerful new ways.
NPM 官网
sudo npm -v

更新 NPM

sudo npm i -g npm --registry=