firebase latest version npm code example
Example 1: install firebase npm
$ npm init
$ npm install --save firebase
Example 2: angular install firebase tools
npm install -g firebase-tools
Example 3: npm firebase
npm i firebase
Example 4: install firebase npm
$ npm init
$ npm install --save firebase