@angular/fire install guide code example
Example 1: npm install @angular/fire firebase –save
npm install firebase @angular/fire
Example 2: ngular fire
ng add @angular/fire
npm install firebase @angular/fire
ng add @angular/fire