安装
Node.js LTS
curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash -
Node.js Current
curl -fsSL https://rpm.nodesource.com/setup_current.x | bash -
Node.js v16.x
curl -fsSL https://rpm.nodesource.com/setup_16.x | bash -
Node.js v15.x
curl -fsSL https://rpm.nodesource.com/setup_15.x | bash -
Node.js v14.x
curl -fsSL https://rpm.nodesource.com/setup_14.x | bash -
Node.js v12.x
curl -fsSL https://rpm.nodesource.com/setup_12.x | bash -
Node.js v10.x
curl -fsSL https://rpm.nodesource.com/setup_10.x | bash -
检查版本
node -v
npm -v
版权属于:kenvie
本文链接:https://kenvie.com/641.html
商业转载请联系作者获得授权,非商业转载请注明出处。