2014-07-11 00:54:06 +00:00
---
layout: page
title: Download
---
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 08:58:52 +00:00
## Contents
* Will be replaced with the ToC, excluding the "Contents" header
{:toc}
2015-03-09 15:40:32 +00:00
{% comment %}
2014-12-10 22:12:20 +00:00
## Optional builds
### Scaffolding only
Just our global CSS resets, including Normalize and more. No custom CSS components or JavaScript.
### Grid only
Literally just our grid container and columns. No global CSS resets, custom CSS components, or JavaScript.
### Individual components
Choose what CSS and JS components to download and customize further for your own use. Include the global CSS resets.
### Kitchen sink
Download the entire project and quickly get developing. Includes all CSS and JavaScript, including the source files and basic build tools.
---
2015-03-09 15:40:32 +00:00
{% endcomment %}
2014-12-10 22:12:20 +00:00
2015-05-29 08:58:52 +00:00
## Precompiled
2014-07-11 00:54:06 +00:00
Compiled and minified CSS and JavaScript. No docs or original source files are included.
< a href = "{{ site.download.dist }}" class = "btn btn-lg btn-outline" role = "button" onclick = "ga('send', 'event', 'Getting started', 'Download', 'Download compiled');" > Download Bootstrap< / a >
2015-05-29 08:58:52 +00:00
## Download source and docs
2014-07-11 00:54:06 +00:00
2014-12-23 21:25:59 +00:00
Source Sass, JavaScript, and documentation. **Requires a Sass compiler and [some setup](../compiling).**
2014-07-11 00:54:06 +00:00
< a href = "{{ site.download.source }}" class = "btn btn-lg btn-outline" role = "button" onclick = "ga('send', 'event', 'Getting started', 'Download', 'Download source');" > Download source< / a >
2015-05-29 08:58:52 +00:00
## Bower
2014-07-11 00:54:06 +00:00
2014-12-04 23:25:24 +00:00
You can also install and manage Bootstrap's Sass, CSS, and JavaScript using [Bower ](http://bower.io ).
2014-07-11 00:54:06 +00:00
{% highlight bash %}$ bower install bootstrap{% endhighlight %}
2015-05-29 08:58:52 +00:00
## npm
2014-07-11 00:54:06 +00: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 04:08:58 +00:00
2015-01-19 22:48:12 +00: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 04:08:58 +00:00
2015-01-19 22:48:12 +00: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-05-29 08:58:52 +00:00
## Meteor
2015-03-29 07:08:54 +00:00
{% highlight bash %}
$ meteor add twbs:bootstrap
{% endhighlight %}
2015-05-29 08:58:52 +00:00
## Composer
2015-03-29 07:08:54 +00:00
{% highlight bash %}
$ composer require twbs/bootstrap
{% endhighlight %}
2015-05-29 08:58:52 +00:00
## Autoprefixer required
2015-01-19 22:48:12 +00: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.