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

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.

主站蜘蛛池模板: 延庆县| 安国市| 随州市| 兴城市| 勃利县| 镇远县| 塔城市| 台东市| 洪洞县| 龙井市| 苍梧县| 株洲县| 清丰县| 阜阳市| 正镶白旗| 平顶山市| 梁山县| 禄丰县| 门头沟区| 衡南县| 绍兴市| 葵青区| 宜川县| 漳浦县| 故城县| 印江| 兴山县| 革吉县| 成武县| 白银市| 黄石市| 阿克陶县| 色达县| 阜城县| 巴林右旗| 上犹县| 贡觉县| 宽城| 甘南县| 福贡县| 疏附县|