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

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
主站蜘蛛池模板: 双牌县| 黄山市| 平果县| 长沙县| 黑河市| 崇左市| 阜新市| 奉节县| 崇文区| 金华市| 杭锦后旗| 锦屏县| 凉城县| 烟台市| 郯城县| 渭源县| 徐汇区| 海安县| 漳浦县| 宜春市| 翁源县| 和林格尔县| 竹溪县| 绵竹市| 西贡区| 武宣县| 韶关市| 沂南县| 乌审旗| 方山县| 西畴县| 鹰潭市| 任丘市| 德钦县| 阜南县| 望奎县| 克拉玛依市| 泸水县| 大安市| 宁国市| 育儿|