npm install firebase @angular fire code example Example: install firebase angular 8 npm install firebase @angular/fire --save