Showing posts with label expressjs installation. Show all posts
Showing posts with label expressjs installation. Show all posts

Saturday, September 24, 2016

Express JS installation commands on NodeJS 4.5.0


I installed nodeJS 4.5.0.

Then struggled to install ExpressJS.

Later on, found the solution at the following site:

https://github.com/expressjs/express

Use the commands below (Windows 7 64 bit) in the command prompt:

1. npm install -g express-generator

This installs all the express dependencies and modules.

2. express expressjs && cd expressjs

This sets up the folder "express" to load all the needed files for installation.

3. npm install

This installs the expressjs package.

4. npm start

This starts the server.