{"id":189389,"date":"2014-11-28T07:30:35","date_gmt":"2014-11-28T14:30:35","guid":{"rendered":"http:\/\/css-tricks.com\/?p=189389"},"modified":"2017-04-12T16:59:31","modified_gmt":"2017-04-12T23:59:31","slug":"whats-great-bower","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/whats-great-bower\/","title":{"rendered":"What’s So Great About Bower?"},"content":{"rendered":"

The following is a guest post by Dan Sundy from Helios Design Labs<\/a>. Dan is both going to explain how to use Bower and make a case for doing so, from the perspective of someone who resisted the idea at first.<\/em><\/p>\n

<\/p>\n

When I first started working with Bower I didn’t quite get the appeal. “Seriously?” I thought. “Now it’s too much work to download and unzip a file?” I also wasn’t super excited about cramming a bunch of new commands into a brain that was already bulging at the seams with Git, Grunt, Gulp, Jekyll, Node, etc.<\/p>\n

There are two things I would tell that half-a-year ago version of myself. First, Bower can do a little bit more than download a file or two. Second, spending an hour learning a tool that will eliminate a repetitive task is worth it.<\/p>\n

First Things First: What the Heck is Bower?<\/h3>\n

For the uninitiated, Bower is a package manager. It’s good at, well, managing packages—anything that you depend on an external author for. Good examples are CSS frameworks like Bootstrap, libraries like jQuery, jQuery plugins, or JavaScript frameworks like Angular. The official Bower website, Bower.io<\/a>, probably says it best:<\/p>\n

\n

Web sites are made of lots of things \u2014 frameworks, libraries, assets, utilities, and rainbows. Bower manages all these things for you.<\/p>\n

Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you\u2019re looking for.<\/p>\n<\/blockquote>\n

Prerequisites<\/h3>\n

There are some things you’ll need before you can start working with Bower:<\/p>\n