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

  • Electron Projects
  • Denys Vuika
  • 244字
  • 2021-06-24 12:14:33

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.

主站蜘蛛池模板: 三明市| 腾冲县| 遂昌县| 太康县| 清涧县| 恩平市| 桑日县| 山阳县| 左权县| 佛坪县| 漠河县| 平原县| 遵化市| 南京市| 任丘市| 新晃| 抚松县| 香格里拉县| 东兰县| 虹口区| 资中县| 永宁县| 漳州市| 通河县| 舞阳县| 五指山市| 连山| 漾濞| 正镶白旗| 桐庐县| 克什克腾旗| 将乐县| 格尔木市| 东明县| 贵阳市| 大悟县| 大港区| 合水县| 临西县| 南漳县| 万宁市|