Using Bower to install Git repo

If you use Bower as your front end package manager, you may need to install something that’s not in the Bower package library. But chances are it’s on Github. That’s awesome for this case! Bower can manage Github repos using one simple command.

bower install username/reponame --save

That’s it! Your bower.json file will automatically update with the git repo you just downloaded. And the repo itself will install in your bower_components directory.

Here’s an example of using Bower to install CMB2. This is a great example of something that might come in handy if you are a WordPress web developer.

bower install WebDevStudios/CMB2 --save

Hope this help!