ember
Documentation menuembr 0.13.0

Commands

embr remove

Last updated November 2, 2026

embr remove <dependency>...
embr rm <dependency>...

Deletes dependencies from ember.toml. It does not install.

Behavior#

  • Each name is an alias, a key under [dependencies] or [dev-dependencies], or the scope/name of an entry. A scope/name removes each entry with that package, whatever its alias is. Case does not matter in a scope/name.
  • Every name must match before Ember changes the file. If a name matches no entry, the error lists the aliases in ember.toml, and the file stays as it was.
  • Edits keep the comments and the format of ember.toml. An empty [dev-dependencies] table goes with its last entry. [dependencies] stays, because embr init writes it.
  • Ember shows a warning when [patches] or [overrides] still name a removed dependency. Install stops on a patch that cannot land and on an override that borrows a missing alias, so edit that entry before you install. A patch can still land when another dependency brings in the same package.
  • The last line reminds you to run embr install. The install takes the package out of the packages folders and out of ember.lock.

Examples#

embr remove signal            # an alias
embr rm chief/core            # a scope/name, under any alias
embr remove core lest         # more than one at a time

Hooks#

A preremove script runs before ember.toml changes. A postremove script runs after the file has been written. See Lifecycle hooks.

See also#

  • embr add to add a dependency.
  • embr why to see what else needs a package before you remove it.