If you are using angular >- 9 CLI project, using Angular CLI it's pretty easy to install ng-bootstrap library to angular project using the following command.
ng add @ng-bootstrap/ng-bootstrap
It'll install ng-bootstrap for the default application specified in the angular.json.
If you want to install for a specific application, you could specify the --project option.
ng add @ng-bootstrap/ng-bootstrap --project myProject
In the package.json you will find the ng-bootstrap library and angular.json will have the CSS reference added and ready to be used in the application.