How to do it...

  1. Install bower using npm:
      npm install -g bower
  1. Verify the bower installation:
      which bower && bower -v
Note that both commands should return some values.
  1. Install Bootstrap 4 alpha 6:
      bower install bootstrap#v4.0.0-alpha.6
  1. Navigate to the bootstrap folder:
      cd && cd workspace/bower_components/bootstrap
  1. Run npm install to install all the dependencies:
      npm install
Note that this will take a while.
  1. Run grunt verbose:
      grunt -v

Now, you can easily reference the dist folder with the necessary styles and scripts for your Bootstrap website to work.

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.