Ember CLI Update is a command-line tool designed to help developers update their Ember.js application and addon boilerplate code to newer versions. It differentiates itself significantly from the default `ember init` command by applying a granular diff of changes between blueprint versions, thereby preserving existing user modifications and additions, rather than resetting the project to a clean slate. The tool supports updating official Ember CLI blueprints (e.g., `app`, `addon`, `glimmer`) as well as custom addon blueprints. The current stable version is 3.0.1, released on 2025-10-07. While there isn't a fixed release cadence, updates typically align with major Ember CLI blueprint changes and address bug fixes. Key differentiators include its non-destructive diffing approach, the ability to target specific Ember CLI versions for updates, and integrated support for automatically running applicable codemods to assist with broader code migrations.
npm install ember-cli-updateVerified import paths — ran on the pinned version, not inferred.
Demonstrates initializing an Ember project, making a small change, then updating it to the latest Ember CLI version and running associated codemods using the local `ember update` command.
Ensure your development environment uses Node.js v20 or newer before upgrading to ember-cli-update v3.x.
Always invoke `ember-cli-update` as a global command (`ember-cli-update`) or via `ember update` after installing it as a project addon (`ember install ember-cli-update`).
The tool will warn users attempting to upgrade past 6.7.0. Users should be prepared for manual steps or consult Ember CLI documentation for migrating to Vite after the boilerplate update.
Commit or stash all uncommitted changes in your project before attempting an update. This ensures a clean state for applying diffs and resolving potential conflicts.
After running `ember install ember-cli-update`, stage and commit your `package.json` (and lockfile) changes to Git. Only then proceed with `ember update`.
You will likely need to manually resolve conflicts using your preferred Git tools. The `--resolve-conflicts` option can launch your system's git merge tool automatically if conflicts are found.
Perform the base update, resolve any file conflicts, commit those changes, and *then* run `ember-cli-update --run-codemods` to ensure codemods apply correctly to the updated codebase.
After running `ember install ember-cli-update`, use `git add package.json package-lock.json && git commit -m "Install ember-cli-update"` (or similar for other lockfiles) before executing `ember update`.
Manually open the conflicting files (marked by Git with `<<<<<<<`, `=======`, `>>>>>>>`), resolve the differences, save the files, then `git add` the resolved files and `git commit` your changes. Alternatively, run `ember-cli-update --resolve-conflicts` to launch your configured Git merge tool.
Ensure that your `package.json` includes a `"name": "your-project-name"` field. This bug was fixed in `v2.0.1`, so upgrading `ember-cli-update` to `v2.0.1` or newer will also resolve it.