TheDocumentation 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.
meteor update command upgrades your project’s dependencies to their latest compatible versions.
Usage
Basic Usage
Update to the latest release and update packages:- The Meteor release
- Packages used by the app to the latest versions that don’t cause dependency conflicts
Update Modes
Patch Update
Update to the latest patch release:Release Update
Force update to a specific release:- Force update to the specified release
- Not update non-core packages unless strictly necessary
- May cause some packages to become incompatible
Packages Only
Update packages without updating the Meteor release:Specific Packages
Update individual packages by name:All Packages
Update all packages including indirect dependencies:- All packages, including indirect dependencies
- To their latest compatible versions
- Subject to constraints imposed by other packages
Options
Update to the latest patch release only. Patch releases are minor updates with bug fixes.
Update to a specific release of Meteor
Update package versions only, without updating the Meteor release
Update all packages including indirect dependencies to their latest compatible versions
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
Update to the latest version of everything:Troubleshooting Updates
If a package can’t be updated, get more information by trying to add it at the target version:Version Conflicts
If you encounter version conflicts during an update:-
Check constraints: See what’s preventing the update
-
Allow incompatible updates: Use if you’re sure about the change
-
Update all packages: Sometimes updating everything together resolves conflicts
-
Update individually: Update packages one at a time to identify conflicts
Understanding Update Behavior
Core vs. Non-Core Packages
- Core packages: Bundled with Meteor releases (e.g.,
meteor-base,mongo,webapp) - Non-core packages: Community or third-party packages
meteor update and meteor update --patch try not to update non-core packages unless necessary.
Constraint Solver
Meteor uses a constraint solver to ensure all packages are compatible. When updating:- It reads version constraints from
.meteor/packages - It solves for the newest compatible versions
- It updates
.meteor/versionswith resolved versions
What Gets Updated
Files Modified
.meteor/release- The Meteor release version.meteor/versions- Exact versions of all packages
Files Not Modified
.meteor/packages- Your package list (only modified if you add/remove packages)
Best Practices
- Test after updating: Always test your app after updating
- Update regularly: Stay current with patches and security updates
- Read release notes: Check what changed before updating releases
- Use version control: Commit before updating so you can revert if needed
- Update patches frequently: Patch updates are safe and contain bug fixes
Checking for Updates
Meteor automatically checks for updates when you runmeteor commands. To disable this: