diff --git a/README.md b/README.md index 6a86de1204..159d8be781 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Several quick start options are available: * [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.6.zip). * 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 [npm](https://www.npmjs.com): `npm install bootstrap@3`. * Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`. * Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`. diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index 1fb3aab615..7564fd3cb0 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -46,7 +46,7 @@
You can also install Bootstrap using npm:
- {% highlight bash %}$ npm install bootstrap{% endhighlight %} + {% highlight bash %}$ npm install bootstrap@3{% endhighlight %}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.
Bootstrap's package.json
contains some additional metadata under the following keys: