check ngbootstrap version code example
Example 1: install ng bootstrap
ng add @ng-bootstrap/ng-bootstrap
Example 2: ng bootstrap
// Installation for Angular CLI
ng add @ng-bootstrap/ng-bootstrap
ng add @ng-bootstrap/ng-bootstrap
// Installation for Angular CLI
ng add @ng-bootstrap/ng-bootstrap