- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 169字
- 2021-07-08 10:32:40
Windows
To install Node.js on Windows, we will follow these steps:
- 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
- Download the installer depending on the result of this command.
- Once the download is complete, double-click on the .msi file, which will launch the Node installer.
- Proceed through each step of the wizard.
- 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.
- 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
推薦閱讀
- 解構產品經理:互聯網產品策劃入門寶典
- Spring技術內幕:深入解析Spring架構與設計
- Dependency Injection in .NET Core 2.0
- Functional Kotlin
- QGIS:Becoming a GIS Power User
- SSM輕量級框架應用實戰
- Linux操作系統基礎案例教程
- 名師講壇:Spring實戰開發(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- 程序員修煉之道:通向務實的最高境界(第2版)
- Swift語言實戰精講
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- Express Web Application Development
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- 從零開始學C#
- IPython Interactive Computing and Visualization Cookbook