angular install @angular/fire/firestore code example Example: npm install @angular/fire firebase –save npm install firebase @angular/fire