Stop bower from asking for statistics when installing
As was noted in a comment, this was raised as an issue at github. At the end of that issue there's reference to a minor note at the end of the CHANGELOG comments:
NOTE: It's advisable that users use
--config.interactive=false
on automated scripts.
You can create a ~/.bowerrc
file, which is useful when using bower to install components in a Docker environment:
{
"interactive": false
}
Another option is setting an environment variable (source):
export CI=true
It seems that you could use
bower --config.analytics=false install
to disable only Analytics question.
@see https://github.com/bower/bower/pull/1470