Maintaining Multiple Versions of Ember - revelation/ember-cli-revelation-ui GitHub Wiki
To use a specific version of ember(-cli/-data) per application without affecting global:
- Go into the specific directory for the application you’re developing.
-
npm install ember-cli --save
Do not use the-g
flag as that will affect your global installation of ember. - Verify that the correct version is installed “locally” in each ember app directory (Discuss, Analytics, any addons, etc) by running
ember --version
. - 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.