]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Port #18530 to v4
authorChris Rebert <code@chrisrebert.com>
Thu, 10 Dec 2015 23:06:22 +0000 (15:06 -0800)
committerChris Rebert <code@chrisrebert.com>
Thu, 10 Dec 2015 23:08:02 +0000 (15:08 -0800)
Docs: Include major version in `npm install bootstrap` commands
Future-proofing for when Bootstrap v5 eventually exists.
Refs #18520

[ci skip]

README.md

index ebf0ee9013b9ecf03196ddf2d36d374edf27e5a9..d7353540cd91eeedd620f48e0d69caee9e1dbea3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Several quick start options are available:
 - [Download the latest release](https://github.com/twbs/bootstrap/archive/v4.0.0-alpha.2.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@4`.
 - Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`.
 - Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`.
 - Install with [NuGet](https://www.nuget.org): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release).