How to install specific version of bootstrap using Angular CLI

From the official bootstrap documentation :

You can also install Bootstrap using npm:

npm install bootstrap@3 --save


This is related to NPM, not angular. There are 2 ways:

  1. npm install bootstrap@version --save(replace version with the desired version). Using --save is a best pratice. It adds the bootstrap dependencies to package.json
  2. Check your package.json and update "bootstrap": "4.0.0" to 3.3.7

You Can install Bootstrap Version 3.3.7 using below comment.

$ npm install [email protected] --save

Tags:

Npm