In the documentation:
Using the dependencies listed in the current bower.json directory
bower install
If you have not installed the gazebo, you need to do this first:
npm install -g bower
If you have not installed node and npm, you need to do this before doing anything:
How to install Node.js
source
share