进入:https://github.com/nodesource/distributions
如要安装Node.js v4.x则执行下面命令:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
ubuntu安装不同版本的nodejs
最新推荐文章于 2024-05-28 15:04:39 发布
进入:https://github.com/nodesource/distributions
如要安装Node.js v4.x则执行下面命令:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs