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

  • Node.js Web Development
  • David Herron
  • 201字
  • 2021-06-11 18:48:16

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.

主站蜘蛛池模板: 抚松县| 舟曲县| 沾益县| 正定县| 平昌县| 贡山| 巩义市| 镇宁| 上高县| 灵台县| 赤壁市| 龙里县| 永靖县| 太白县| 循化| 神木县| 定陶县| 龙南县| 固安县| 鞍山市| 卓尼县| 萨迦县| 锦屏县| 渭源县| 老河口市| 安康市| 姜堰市| 阿城市| 乌拉特后旗| 新田县| 三明市| 灵山县| 隆化县| 双鸭山市| 张北县| 北安市| 花垣县| 利津县| 治多县| 马鞍山市| 瓮安县|