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

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
主站蜘蛛池模板: 玉龙| 普兰店市| 宜黄县| 霞浦县| 曲周县| 玉溪市| 安西县| 上高县| 台北县| 双鸭山市| 汝城县| 察雅县| 青海省| 清镇市| 开封市| 特克斯县| 广汉市| 双城市| 紫阳县| 茌平县| 蛟河市| 石渠县| 天长市| 团风县| 乌鲁木齐县| 灯塔市| 雷州市| 衡阳县| 离岛区| 鹤岗市| 辽源市| 宜良县| 连山| 旬阳县| 油尖旺区| 甘肃省| 武威市| 城步| 施甸县| 新丰县| 克什克腾旗|