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

System requirements

Node.js runs on POSIX-like OSes, various UNIX derivatives (Solaris, for example), and UNIX-workalike OSes (such as Linux, macOS, and so on), as well as on Microsoft Windows. It can run on machines both large and small, including tiny ARM devices, such as Raspberry Pi—a microscale embeddable computer for DIY software/hardware projects.

Node.js is now available via package management systems, limiting the need to compile and install from the source.

Because many Node.js packages are written in C or C++, you must have a C compiler (such as GCC), Python 2.7 (or later), and the node-gyp package. Since Python 2 will be end-of-lifed by the end of 2019, the Node.js community is rewriting its tools for Python 3 compatibility. If you plan on using encryption in your networking code, you will also need the OpenSSL cryptographic library. Modern UNIX derivatives almost certainly come with this and Node.js's configure script—used when installing from the source—will detect their presence. If you need to install it, Python is available at http://python.org and OpenSSL is available at http://openssl.org.

Now that we have covered the requirements for running Node.js, let's learn how to install it.

主站蜘蛛池模板: 阿合奇县| 兴宁市| 慈利县| 许昌县| 密山市| 石家庄市| 山东| 喜德县| 巧家县| 宜城市| 调兵山市| 鹰潭市| 乌拉特后旗| 融水| 澄城县| 新干县| 甘孜| 平湖市| 湾仔区| 鄢陵县| 乌恰县| 叙永县| 二手房| 蓬安县| 桦南县| 红原县| 浦城县| 乐山市| 鸡泽县| 莒南县| 瑞丽市| 达尔| 崇文区| 丰原市| 岢岚县| 普兰店市| 房产| 丰都县| 海阳市| 富阳市| 东阳市|