Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is difference between npm install and meteor npm install

I am working on Meteor and want to know that what is the difference between

npm install and meteor npm install.

Thanks

like image 887
user10237963 Avatar asked Oct 14 '25 14:10

user10237963


2 Answers

According to Meteor Development Group's comments in the official forum, the difference is as follows;

meteor npm calls the bundled npm version, so it doesn’t require npm to be installed globally, That is just a convenience however, so if you do have npm installed using that will work perfectly fine. That being said, it is a good practice to get into always using meteor npm, as that way you can make sure you’re using the same npm version that has been tested with your current version of Meteor.

like image 197
Gokhan Karadag Avatar answered Oct 17 '25 10:10

Gokhan Karadag


When using meteor npm you can make sure that you are using the same npm version that has been tested with your current Meteor's version.

When using npm install it just uses the global npm on your machine. So i'd advise to use meteor npm

like image 34
Dinosan0908 Avatar answered Oct 17 '25 10:10

Dinosan0908