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

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
主站蜘蛛池模板: 长白| 武穴市| 侯马市| 盐源县| 蒙山县| 灵台县| 资源县| 黄冈市| 莲花县| 依兰县| 九龙城区| 米脂县| 天门市| 阿拉善右旗| 乐陵市| 镇赉县| 吉安县| 车致| 阳谷县| 康马县| 秦皇岛市| 贡山| 重庆市| 青州市| 香港 | 宁都县| 安图县| 新津县| 扎兰屯市| 郸城县| 吴江市| 安西县| 宁强县| 镇沅| 丰台区| 安国市| 黄梅县| 唐河县| 双流县| 萨迦县| 东源县|