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

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.

主站蜘蛛池模板: 普陀区| 穆棱市| 武冈市| 桃江县| 张家界市| 广河县| 五家渠市| 武鸣县| 桐庐县| 南木林县| 沽源县| 沂南县| 舟山市| 汪清县| 湟中县| 建始县| 汽车| 昆明市| 新源县| 嵊泗县| 洪江市| 五河县| 孝感市| 治多县| 年辖:市辖区| 西充县| 霍州市| 大同县| 旅游| 夹江县| 宝清县| 满洲里市| 南陵县| 车致| 周至县| 罗平县| 武鸣县| 沽源县| 阳东县| 金堂县| 蒲江县|