Install Express under Windows

Source: Internet
Author: User

Install Express on the basis of node. JS already installed on your Windows

Part I: Installing Express

First step: Execute npm install-g express-generator

Note: This must be installed, or the Express command will not be found when creating the Express project

Step two: Execute npm install-g Express

Step three: Execute express-v

Note:' V ' is uppercase, if the Express installation is successful, the version number will be displayed

Part II: Creating an Express Project

Step one: Perform Express youprojectname

Note:Youprojectname is the name of your project, choose the right project name according to your requirements

Step Two: Enter your project:CD youprojectname

Step three: Perform npm install in the directory of your project

Fourth step: Start your project and execute NPM start

Part III: Accessing your project in the browser

Open your browser and type in the Address bar:http://127.0.0.1:3000

And then you'll see: Welcome information for Express

Finally: Start your express journey and enjoy your work!

Install Express under Windows

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.