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

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.

主站蜘蛛池模板: 新和县| 屯昌县| 霍山县| 云霄县| 梅河口市| 南宁市| 万源市| 南丰县| 奈曼旗| 平昌县| 明光市| 新巴尔虎左旗| 泰州市| 南涧| 屏南县| 宁夏| 山丹县| 咸宁市| 大同县| 桓台县| 阜新| 德保县| 长春市| 类乌齐县| 莱阳市| 霞浦县| 乌苏市| 偏关县| 永仁县| 溧水县| 木兰县| 万全县| 温州市| 涪陵区| 玉门市| 遂溪县| 廉江市| 兴业县| 布拖县| 湖口县| 治多县|