GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions
Node.js v17.x:
# Using Ubuntu curl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash - sudo apt-get install -y nodejs # Using Debian, as root curl -fsSL https://deb.nodesource.com/setup_17.x | bash - apt-get install -y nodejs
Node.js v16.x:
# Using Ubuntu curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - sudo apt-get install -y nodejs # Using Debian, as root curl -fsSL https://deb.nodesource.com/setup_16.x | bash - apt-get install -y nodejs
其他版本继续浏览
https://www.leftso.com/article/952.html