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:bowerwas removed fromember-cli:0.2.4.Commands
ember install:bowerandember install:npmwere introduced inember-cli:0.1.5.They do the same thing as
bower installandnpm installwith 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.4installcommand is used exclusively to install addonsember install <addon-name>.