Saturday, April 20, 2024

Important npm install commands

Important npm install commands

Hello, welcome to In this post, I will tell you Important npm install commands.
First you need to install Node.js on your system to run npm commands.
First full for of npm is Node Package Manager.

Here are some Important npm install commands.

1. This command is used to install node modules folder:

npm install

2. This command is used to install package locally:

npm install PackageName

3. This command is used to install package globally:

npm install PackageName -g or –global

4. This command is used to install package and added package.json file:

npm install PackageName –save

5. This command is used to check node version:

node v

6. This command is used to node version for support multiple node version:

nvm install nodeversion

nvm use nodeversion

There are so many npm install commands and i will let you know all. Please do comment if you any query related to this post. Thank you.

the authortherichpost
Hello to all. Welcome to Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 14, Angular 15, Angular 16, Angular 17, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

Leave a Reply

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