Ember CLI is a normal npm package. To update it we have to uninstall it and then install the version we want.
As of writing this post the latest version is 2.13.2. From the command line run:
npm uninstall -g ember-cli
npm cache clean
bower cache clean
npm install -g [email protected]
To verify the proper version was installed run:
ember -v
Then update your project. This will clear out the cache and update the Ember CLI version in package.json
. The last part will run the new project blueprint on your projects directory. Just follow the prompts and review all the changes.
rm -rf node_modules bower_components dist tmp
npm install --save-dev [email protected]
npm install
bower install
ember init
references