From 6eb5e7eec00ae7d6cb18378216d466d7d3e501b8 Mon Sep 17 00:00:00 2001 From: Pixelposh Date: Tue, 27 Nov 2018 16:36:08 +0100 Subject: [PATCH] added NPM install option (#22833) * added NPM install option * fix: grammar and formatting --- guide/english/bootstrap/get-started/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/guide/english/bootstrap/get-started/index.md b/guide/english/bootstrap/get-started/index.md index bed81d9e88..09bb7f91e5 100644 --- a/guide/english/bootstrap/get-started/index.md +++ b/guide/english/bootstrap/get-started/index.md @@ -25,5 +25,22 @@ You will also need to add the following between the `body` tags in your code. Wi

Bootstrap is now working on this page

+### Installing Bootstrap with a Package Manager + +A popular package manager is NPM or Node Package Manager. You will need to install Node.js, which includes the Node Package Manager. +Visit [Node.js](https://nodejs.org/en/) and download the necessary files based on your OS, and then install them. + +Once installed and setup, open up the command line or console, and type the following in the the project folder you wish to use Bootstrap with. At the time of writing this will install Bootstrap version 4.0.0 + +```html +npm install bootstrap@4.0.0 --save +``` + +Once NPM has finished downloading and installing Bootstrap 4, there will be a new folder called `node_modules` within your project folder if it wasn't already there. + +* `/bootstrap` which contains the CSS and Sass version of our files. +* `/jquery` which is used by Bootstrap in various components. +* `/tether` which is a library for element positioning. + #### More Information * [Bootstrap's official website](http://getbootstrap.com/getting-started/)