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

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
主站蜘蛛池模板: 墨脱县| 双鸭山市| 忻州市| 通城县| 栖霞市| 滨海县| 石泉县| 枣庄市| 白银市| 常山县| 白银市| 富川| 许昌市| 赤城县| 灵宝市| 揭东县| 陇西县| 玛多县| 宜兰县| 明光市| 淮安市| 芜湖市| 浦城县| 成武县| 稻城县| 河西区| 沙雅县| 多伦县| 嵊州市| 九江县| 宁城县| 东乌珠穆沁旗| 阳山县| 淳化县| 改则县| 津市市| 清远市| 汝南县| 奉化市| 虎林市| 温宿县|