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