diff --git a/README.md b/README.md index 06e17f0fa9..f0c0caa763 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ Five quick start options are available: - Clone the repo: `git clone https://github.com/twbs/bootstrap.git`. - Install with [Bower](http://bower.io): `bower install bootstrap`. - Install with [npm](https://www.npmjs.com): `npm install bootstrap`. -- Install with [Meteor](https://www.meteor.com/): `meteor add twbs:bootstrap`. +- Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`. +- Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`. Read the [Getting started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more. diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index 290731fae3..5bfb676597 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -54,6 +54,10 @@
  • style - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)
  • +

    Install with Composer

    +

    You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Composer:

    + {% highlight bash %}$ composer require twbs/bootstrap{% endhighlight %} +

    Autoprefixer required for Less/Sass

    Bootstrap uses Autoprefixer to deal with CSS vendor prefixes. If you're compiling Bootstrap from its Less/Sass source 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 because Autoprefixer is already integrated into our Gruntfile.