Ember CLI Project Updater

3.0.1 · active · verified Wed Apr 22

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.

Common errors

Warnings

Install

Imports

Quickstart

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.

git init
pnpm init -y
pnpm add -D ember-cli@latest ember-cli-update
npx ember new my-ember-app --skip-npm --skip-git
cd my-ember-app
git add .
git commit -m "Initial Ember app"

# Simulate some changes (e.g., in app.js)
echo "// Custom comment" >> app/app.js

# Update to the latest version (assuming a new version is available)
ember update

# If merge conflicts arise, resolve them manually or use a merge tool
# For example, if app.js has conflicts, you'd edit it then:
# git add app/app.js
# git commit -m "Resolve conflicts after update"

# Then, run codemods if any are applicable for the version jump
ember update --run-codemods

# Verify the update
npx ember s

view raw JSON →