When you want to install a bower package to your ember project, what is the difference between this command
bower install <package>
and this one
ember install:bower <package>
I assume the second one is better (correct me if i'm wrong) but why?
Use
bower install
, sinceember install:bower
was removed fromember-cli:0.2.4
.Commands
ember install:bower
andember install:npm
were introduced inember-cli:0.1.5
.They do the same thing as
bower install
andnpm install
with a few options added and they use the local version rather than the global.This approach sometimes generate unexpected issues (see https://github.com/ember-cli/ember-cli/issues/3140#issuecomment-72037408),
so from
ember-cli:0.2.4
install
command is used exclusively to install addonsember install <addon-name>
.