Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/meteor/meteor/llms.txt

Use this file to discover all available pages before exploring further.

The meteor remove command removes one or more packages from your Meteor project.

Usage

meteor remove <package> [package...]

Basic Usage

Remove a single package:
meteor remove autopublish
Remove multiple packages:
meteor remove autopublish insecure

Options

--allow-incompatible-update
boolean
default:"false"
Allow packages in your project to be upgraded or downgraded to versions that are potentially incompatible with the current versions, if required to satisfy all package version constraints.

Examples

Remove default development packages:
meteor remove autopublish insecure
Remove a package allowing incompatible updates:
meteor remove my-package --allow-incompatible-update
Remove authentication packages:
meteor remove accounts-password accounts-ui

What Happens When You Remove a Package

When you remove a package:
  1. The package is removed from .meteor/packages
  2. The package and its exclusive dependencies are unloaded
  3. .meteor/versions is updated
  4. The app is rebuilt without the package

Viewing Current Packages

To see which packages are in your project:
meteor list
To see all packages including transitive dependencies:
meteor list --tree

Common Packages to Remove

Development Packages

These should typically be removed before deploying to production:
meteor remove autopublish  # Auto-publishes all DB data to clients
meteor remove insecure     # Allows client-side DB writes

Switching UI Frameworks

When switching from one UI framework to another:
# Remove Blaze
meteor remove blaze-html-templates

# Remove React
meteor remove react-meteor-data

# Remove Vue
meteor remove vue-meteor-tracker

Dependencies

Removing a package doesn’t automatically remove its dependencies if those dependencies are used by other packages in your project. To see why a package is in your project:
meteor list --tree

Troubleshooting

If removing a package causes version conflicts:
# Try allowing incompatible updates
meteor remove package --allow-incompatible-update

# Or update packages after removal
meteor remove package
meteor update