I am working on Meteor and want to know that what is the difference between
npm install
and meteor npm install
.
Thanks
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
.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With