Installing APIDOCJS under Windows

Source: Internet
Author: User

1. Download the node. JS official Windows Edition program:
https://nodejs.org/download/
Starting with 0.6.1, node. JS provides two installation options on the Windows platform, the. msi installation file, and an. exe executable file.
I have chosen. EXE file. Because. In addition to copying Node.exe to the C:\Program file (x86) \ Directory and modifying the system path, the MSI installation file does not see any other effect.
I am using a version of V0.12.5:https://nodejs.org/dist/v0.12.5/node.exe

2. Double-click Node.exe installation:

Next after the installation is complete

3. Download the NPM source code:
Https://github.com/isaacs/npm/tags
Note here that it is not necessary to install the latest version, I choose 2.9.1, but be sure to download the zip file in this format

4. Extract the NPM source code into the D:\NPMJS directory.
Complete the installation of NPM by performing the following actions in the Command Prompt window:

D:\>CD NPMJS
D:\npmjs>node Cli.js INSTALL-GF

Other than that:

Node Cli.js install NPM-GF//The latest version of NPM can be installed
node Cli.js install [email protected]-GF//Can install the specified version of NPM

Both of these methods are downloaded and installed from the code base through the network, but the codebase generally retains only the last two versions.

5, Installation Apidocjs

NPM Install Apidoc-g

6. Install Express:

NPM Install EXPRESS-G//Installing the latest version of Express
NPM install [email protected]//installation of the specified version of Express

NPM Remove Express-g//Delete Express

For more information on how to use NPM, please refer to the NPM official website: http://npmjs.org

The deployment is complete.

D:\>node-v
v0.6.2

D:\>npm-v
1.0.104

D:\>express-v
2.5.1

d:\>express Hello//Create exrpess Project
D:\>CD Hello
D:\hello>node app.js//start

Open in Browser: http://localhost:3000, view the results.

Install Apidocjs under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.