Lindsayts
Lindsayts

Reputation: 327

What's the difference between Meteor and Meteorite (mrt)?

For example, some sites tell me to use mrt add accounts-ui (using Meteorite, right?) and others say meteor add accounts-ui.

From what I understand, Meteorite is just a version control / package manager. Is this correct? What is the difference between the two commands above?

Upvotes: 16

Views: 4553

Answers (3)

Hubert OG
Hubert OG

Reputation: 19544

Update

Meteor 0.9 release rendered Meteorite and the mrt command obsolete. All new projects should use meteor add only.

Original answer

meteor add works only for packages issues officially by the Meteor team (here's the list). mrt add is a wrapper that works also for all community packages available from atmosphere.

Upvotes: 23

Pahlevi Fikri Auliya
Pahlevi Fikri Auliya

Reputation: 4507

They are the same now https://github.com/oortcloud/meteorite/

"NOTE: As of Meteor 0.9.0, Meteorite is no longer required! You can now install Atmosphere packages directly via the meteor tool."

Upvotes: 10

Rebolon
Rebolon

Reputation: 1307

You're right, Meteorite is a packaging system for Meteor. The repository of Meteorite is Atmosphere. It's like a "composer" system with a packagist repository for the PHP language.

So, when you do a "meteor add", you only use the package delivered with the Meteor installation. But with "mrt add", you will be bound to the Meteor original package, like meteor add, or to an Atmosphere repository for all other packages. Finally, because everybody use Meteorite, you just have to use the "mrt" command.

Upvotes: 2

Related Questions