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

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
主站蜘蛛池模板: 樟树市| 南昌县| 延寿县| 志丹县| 伊通| 樟树市| 得荣县| 广宗县| 铜鼓县| 仁化县| 新源县| 东宁县| 德安县| 晋城| 龙泉市| 邳州市| 崇明县| 桦甸市| 深水埗区| 西平县| 青川县| 溆浦县| 福州市| 阜城县| 呈贡县| 思茅市| 潍坊市| 柘荣县| 铅山县| 云南省| 鸡东县| 聂荣县| 平泉县| 鄂伦春自治旗| 灵宝市| 揭东县| 济源市| 梁河县| 阜新| 布拖县| 黔西|