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

Windows

To install Node.js on Windows, we will follow these steps:

  1. We need to determine your processor type, 32-bit or 64-bit. You can do this by executing the following command at the command prompt:
    $ wmic os get osarchitecture

The output is as follows:

      OSArchiecture
      64-bit
  1. Download the installer depending on the result of this command.
  2. Once the download is complete, double-click on the .msi file, which will launch the Node installer.
  3. Proceed through each step of the wizard.
  4. When you get to the custom setup screen, you should notice that the installation wizard will install not only the Node.js runtime, but also the npm package manager, and configure a path variable.
  5. So once the installation is done, Node and npm can be executed from any folder via the command line.

Also, if you have any of the Windows package managers installed, then you don't need to manually download the installer. You may install Node.js via the respective package manager:

  • Using chocolatey:
    cinst nodejs.install
  • Using scoop:
    scoop install nodejs
主站蜘蛛池模板: 延安市| 遂宁市| 威信县| 称多县| 万宁市| 临猗县| 鞍山市| 沅江市| 通榆县| 灵川县| 犍为县| 柏乡县| 东丰县| 南汇区| 曲阜市| 桂林市| 龙江县| 樟树市| 潍坊市| 滁州市| 松原市| 本溪市| 南涧| 资阳市| 商水县| 贺州市| 沅陵县| 耒阳市| 永定县| 武强县| 麻江县| 唐海县| 罗甸县| 永修县| 青铜峡市| 华坪县| 马鞍山市| 治多县| 江陵县| 堆龙德庆县| 叶城县|