Getting Started With Node – Course

How to Install Node Modules

You can install node modules using the following command. Open your terminal/command prompt and run this command.

npm install <module name>


npm i <module name>

For example:

npm install express

You can also install the module and write it in your package.json file using the following command.

npm install --save express


npm i --S express

Leave a Reply

Your email address will not be published. Required fields are marked *

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