Skip to content

Maintaining Multiple Versions of Ember

David Zulaica edited this page Aug 17, 2015 · 1 revision

Maintaining Multiple Versions of Ember

To use a specific version of ember(-cli/-data) per application without affecting global:

  1. Go into the specific directory for the application you’re developing.
  2. npm install ember-cli --save Do not use the -g flag as that will affect your global installation of ember.
  3. Verify that the correct version is installed “locally” in each ember app directory (Discuss, Analytics, any addons, etc) by running ember --version.
  4. When running ember commands for an application that requires the newer/local version of ember-cli, you’ll want to run against the local with ./node_modules/.bin/ember <command>.

It’s a little sloppy, but it works.