После этого инструкции по установке были загружены Nodesource. Он скопирован ниже для вашей справки.
Node.js v10.x:
ПРИМЕЧАНИЕ. Если вы используете Ubuntu Precise или Debian Wheezy, вы можете прочитать о них запуск Node.js> = 6.x на старых дистрибутивах
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
Node.js v10.x :
ПРИМЕЧАНИЕ. Если вы используют Ubuntu Precise или Debian Wheezy, вы можете прочитать о запуске Node.js> = 6.x для более старых дистрибутивов
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_9.x | bash -
apt-get install -y nodejs
Node.js v8.x: [!d12 ]
ПРИМЕЧАНИЕ. Если вы используете Ubuntu Precise или Debian Wheezy, вам может понадобиться прочитать о , выполняющем Node.js> = 6.x для более старых дистрибутивов
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt-get install -y nodejs
[d17 ] Node.js v8.x :
ПРИМЕЧАНИЕ. Если вы используете Ubuntu Precise или Debian Wheezy, вы можете прочитать о , запущенном Node.js > = 6.x для старых дистрибутивов
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs
Node.js v6.x:
ПРИМЕЧАНИЕ. Если вы используете Ubuntu Precise или Debian Видимо, вы можете прочитать о запуске Node.js> = 4.x для более старых дистрибутивов.
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_6.x | bash -
apt-get install -y nodejs
Node.js v6.x :
30] Примечание : Если вы используете Ubuntu Precise или Debian Wheezy, вы можете прочитать о запуске Node.js> = 4.x для старых дистрибутивов.
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_5.x | bash -
apt-get install -y nodejs
Node.js v4.x :
ПРИМЕЧАНИЕ. Если вы используете Ubuntu Precise или Debian Wheezy, вы можете прочитать о , выполняющем Node.js> = 4.x для более старых дистрибутивов .
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_4.x | bash -
apt-get install -y nodejs
Node.js v4.x :
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_0.12 | bash -
apt-get install -y nodejs
Node.js v0.10:
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_0.10 | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_0.10 | bash -
apt-get install -y nodejs
Node.js v0.10 :
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_iojs_3.x | sudo -E bash -
sudo apt-get install -y iojs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_iojs_3.x | bash -
apt-get install -y iojs
io.js v2.x:
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_iojs_2.x | sudo -E bash -
sudo apt-get install -y iojs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_iojs_2.x | bash -
apt-get install -y iojs
io.js v2.x [!d45 ]:
ПРИМЕЧАНИЕ. Если вы используете Ubuntu Precise или Debian Wheezy, вы можете прочитать о , выполняющем Node.js> = 4.x для более старых дистрибутивов .
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_iojs_1.x | sudo -E bash -
sudo apt-get install -y iojs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_iojs_1.x | bash -
apt-get install -y iojs