官术网_书友最值得收藏!

Linux

Because there are so many different flavors and distributions of Linux available, installing Node isn't quite as straightforward. However, if you're running Linux to begin with, then you are more than aware of this and probably comfortable with a few extra steps.

Joyent has an excellent wiki on how to install Node on Linux using the many different package manager options available. This covers almost all the popular deb and rpm-based package managers. You can read that wiki by visiting https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager.

For Ubuntu 14.04 and preceding as an example, the steps to install Node would be as follows:

$ sudo apt-get install python-software-properties
$ sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install nodejs

Once these steps have been completed, both Node and npm should be installed on your system.

主站蜘蛛池模板: 府谷县| 葵青区| 龙岩市| 平利县| 湛江市| 台前县| 克什克腾旗| 泌阳县| 乌拉特前旗| 云南省| 南康市| 永济市| 博罗县| 迁西县| 会同县| 阿拉尔市| 古丈县| 金塔县| 夏邑县| 赞皇县| 横峰县| 建阳市| 平原县| 云龙县| 金堂县| 牙克石市| 鄢陵县| 河源市| 仁布县| 宁陕县| 桂平市| 荆州市| 南安市| 漳浦县| 齐齐哈尔市| 安化县| 长葛市| 阳曲县| 富阳市| 大港区| 同仁县|