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