In this recipe, we will see how to install the newest version of Bootstrap 4 using Bower.
Just like the previous recipe, we will make a new project on Cloud9 IDE without cloning a repo.
- Install
bower
usingnpm
:
npm install -g bower
- Verify the
bower
installation:
which bower && bower -v
- Install Bootstrap 4 alpha 6:
bower install bootstrap#v4.0.0-alpha.6
- Navigate to the
bootstrap
folder:
cd && cd workspace/bower_components/bootstrap
- Run
npm install
to install all the dependencies:
npm install
- 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.