npm install @ng-bootstrap/ng-bootstrap 3 code example Example: ngbmodal angular 9 yarn install ng add @ng-bootstrap/ng-bootstrap