adding bootstrap to angular.json code example Example 1: install bootstrap in angular $ npm install bootstrap Example 2: adding bootstrap to angular $ npm install --save bootstrap