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

Installing Node.js on Windows

Once Visual Studio Code and Git are ready, we can install Node.js and NPM on Windows:

  1. Navigate to https://nodejs.org/en and get the corresponding installer. Note that the website detects your platform for you and suggests the corresponding installer package. For Windows, you are going to see the Download for Windows (x64) label and two buttons where you can select either the LTS, that is, the stable LTS version, or a current one, with the most recent cutting-edge features.
  2. Download and run the installation file. Proceed with the setup wizard and use the default settingsthese are usually pretty reasonable.

Optionally, in the Tools for Native Modules dialog, you can allow the automatic installation of a set of the tools so that you can compile native modules. This is shown in the following screenshot:

The option for the native module instructs the setup wizard to download and configure all the necessary tooling after the installation of Node.js is over.

Please note that the extra tools require about 3 GB of additional space on your disk and may take a few minutes to install. However, I recommend installing those tools as you may come across third-party modules and libraries for the system's integration that require those tools.

Alternatively, you can always download the latest copy of the Node.js installer again, go through the setup wizard steps, and check the Tools for Native Modules option if you forgot to do that previously.

主站蜘蛛池模板: 贵定县| 宁乡县| 湾仔区| 临高县| 濮阳县| 宜章县| 宝山区| 阳曲县| 绥滨县| 安泽县| 黔西县| 光山县| 吉木乃县| 新晃| 资中县| 宁陵县| 汝阳县| 安国市| 恩平市| 虹口区| 枣阳市| 施甸县| 青铜峡市| 嘉鱼县| 仁化县| 从江县| 黎平县| 新安县| 灵山县| 张掖市| 手机| 新营市| 九台市| 藁城市| 安吉县| 平阴县| 吉水县| 南陵县| 西乌珠穆沁旗| 江孜县| 镇远县|