npm i @angular/animations/browser code example Example: angular/animations install npm npm install @angular/animations@latest --save