Express js Installation

Express js installation is a very easy task. We hope, you have already installed node.js and you are aware of npm, if not click here.

Now, for building express.js application, first create a directory for your application and make this working directory.

To install express, run the following command in your working directory.


npm install express --save
Express.js Installation

and to install express globally, run the following command -

npm install -g express

You will see an express folder created in the dependency list in your module directory.

You can also install express on the temporary basis and prevent it to add in the dependency list.

npm install express --no-save