angular install other bootstrap version code example
Example 1: installing bootstrap in angular 9
ng add @ng-bootstrap/ng-bootstrap
Example 2: how to install bootstrap in angular 10
$ npm install -g @angular/cli
ng add @ng-bootstrap/ng-bootstrap
$ npm install -g @angular/cli