- 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
推薦閱讀
- Mastering Spring MVC 4
- Banana Pi Cookbook
- Spring Boot企業級項目開發實戰
- Mastering C++ Multithreading
- JavaScript動態網頁編程
- Bootstrap for Rails
- 零基礎學C++(升級版)
- PostgreSQL Developer's Guide
- Groovy 2 Cookbook
- Raspberry Pi Blueprints
- Java設計模式深入研究
- Data Manipulation with R(Second Edition)
- RESTful Web API Design with Node.js
- Tkinter GUI Application Development Blueprints
- Server Side development with Node.js and Koa.js Quick Start Guide