2014-07-11 02:54:06 +02:00
---
layout: page
title: Download
2015-08-06 02:47:45 +02:00
group: getting-started
2014-07-11 02:54:06 +02:00
---
Bootstrap is available for download via ZIP file in two flavors: precompiled CSS and Javascript, and the complete source code with documentation.
2015-05-29 10:58:52 +02:00
## Contents
* Will be replaced with the ToC, excluding the "Contents" header
{:toc}
2015-06-10 01:09:33 +02:00
## Custom builds
Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag just what you need.
< div class = "row" >
< div class = "col-sm-4" >
< h3 > Reboot< / h3 >
< p > Includes variables/mixins, Normalize, and Reboot. No JavaScript.< / p >
< a class = "btn btn-primary" href = "#" > Download< / a >
< / div >
< div class = "col-sm-4" >
< h3 > Grid only< / h3 >
< p > Includes variables/mixins and our grid system. No JavaScript.< / p >
< a class = "btn btn-primary" href = "#" > Download< / a >
< / div >
< div class = "col-sm-4" >
< h3 > Flexbox< / h3 >
< p > All of Bootstrap, with flexbox support enabled and < strong > lower browser support< / strong > .< / p >
< a class = "btn btn-primary" href = "#" > Download< / a >
< / div >
< / div >
2014-12-10 23:12:20 +01:00
2015-05-29 10:58:52 +02:00
## Precompiled
2014-07-11 02:54:06 +02:00
Compiled and minified CSS and JavaScript. No docs or original source files are included.
2015-06-19 08:56:43 +02:00
< a href = "{{ site.download.dist }}" class = "btn btn-lg btn-outline" onclick = "ga('send', 'event', 'Getting started', 'Download', 'Download compiled');" > Download Bootstrap< / a >
2014-07-11 02:54:06 +02:00
2015-05-29 10:58:52 +02:00
## Download source and docs
2014-07-11 02:54:06 +02:00
2014-12-23 22:25:59 +01:00
Source Sass, JavaScript, and documentation. **Requires a Sass compiler and [some setup](../compiling).**
2014-07-11 02:54:06 +02:00
2015-06-19 08:56:43 +02:00
< a href = "{{ site.download.source }}" class = "btn btn-lg btn-outline" onclick = "ga('send', 'event', 'Getting started', 'Download', 'Download source');" > Download source< / a >
2014-07-11 02:54:06 +02:00
2015-06-10 01:09:33 +02:00
## Package managers
### Bower
2014-07-11 02:54:06 +02:00
2014-12-05 00:25:24 +01:00
You can also install and manage Bootstrap's Sass, CSS, and JavaScript using [Bower ](http://bower.io ).
2014-07-11 02:54:06 +02:00
{% highlight bash %}$ bower install bootstrap{% endhighlight %}
2015-06-10 01:09:33 +02:00
### npm
2014-07-11 02:54:06 +02:00
Bootstrap is available as [an npm package ](https://www.npmjs.org/package/bootstrap ). Install it into your Node powered apps with:
{% highlight bash %}$ npm install bootstrap{% endhighlight %}
2015-01-04 05:08:58 +01:00
2015-01-19 23:48:12 +01:00
`require('bootstrap')` will load all of Bootstrap's jQuery plugins onto the jQuery object. The `bootstrap` module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the `/js/*.js` files under the package's top-level directory.
2015-01-04 05:08:58 +01:00
2015-01-19 23:48:12 +01:00
Bootstrap's `package.json` contains some additional metadata under the following keys:
- `less` - path to Bootstrap's main [Less ](http://lesscss.org ) source file
- `style` - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)
2015-06-10 01:09:33 +02:00
### Meteor
2015-03-29 09:08:54 +02:00
{% highlight bash %}
$ meteor add twbs:bootstrap
{% endhighlight %}
2015-06-10 01:09:33 +02:00
### Composer
2015-03-29 09:08:54 +02:00
2015-06-19 08:56:43 +02:00
You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using [Composer ](https://getcomposer.org ):
2015-03-29 09:08:54 +02:00
{% highlight bash %}
$ composer require twbs/bootstrap
{% endhighlight %}
2015-05-29 10:58:52 +02:00
## Autoprefixer required
2015-01-19 23:48:12 +01:00
Bootstrap uses [Autoprefixer ](https://github.com/postcss/autoprefixer ) to deal with [CSS vendor prefixes ](http://webdesign.about.com/od/css/a/css-vendor-prefixes.htm ). If you're compiling Bootstrap from its source Sass and not using our Gruntfile, you'll need to integrate Autoprefixer into your build process yourself. If you're using precompiled Bootstrap or using our Gruntfile, you don't need to worry about this as Autoprefixer is already integrated into our Gruntfile.