Installing Express.js

To get express.js installed check out the primary instructions in the README.md file here: https://github.com/visionmedia/express/blob/master/Readme.md

The basic installation is simply

[sourcecode language=”bash”]npm install express[/sourcecode]

You can also install express to use the CLI (Command Line Interface) to create skeleton applications. If you want to use express in that way it is best to install express at a global level, which is the following command

[sourcecode language=”bash”]sudo npm install express -g[/sourcecode]

This site uses Akismet to reduce spam. Learn how your comment data is processed.