Skip to main content
momentic-mobile upgrade keeps a Momentic mobile project current in one command. It installs the latest matching CLI release, switches the project to the simplified format, refreshes the recommended ai settings while preserving any pinned agent sub-versions, and rewrites every legacy *.test.yaml / *.module.yaml through the simplified format serializer. The command skips files already using the simplified format. For the YAML rewrite alone, without other config changes, use momentic-mobile migrate simplified-format instead.
Always invoke momentic-mobile@latest on first run; the CLI version bump writes your new version to package.json. The rest of the upgrade still runs in the currently-installed process, so an old pinned CLI would migrate files with its old serializer until the next invocation.

Options

string
Path to the Momentic configuration file. Defaults to momentic.config.yaml in the current directory.
boolean
Preview the upgrade without writing any files or pushing snapshots. Prints the same diff-style summary you would see during a real run so you can review changes before applying them.

Examples

Run the full upgrade in place:
Preview what would change: