O'Reilly logo

Bootstrap 4 Site Blueprints by Ian Whitley, David Cochran, Bass Jobsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Bootstrap via Bower

Bower is a package management system for client-side programming. You can use Bower to install Bootstrap's source code and keep it up to date more easily. Initiate Bower by running the following command in your console:

bower init

Answer the questions like those shown in the following screenshot:

Installing Bootstrap via Bower

After the preceding steps, a bower.json file is created. Then run the following command in your console:

bower install bootstrap#4 --save-dev

The preceding command downloads Bootstrap to the bower_components folder. Notice that jQuery and Tether are also installed since Bootstrap depends on these libraries.

The --save-dev flag ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required