how to install correct version of firebase code example
Example 1: firebase cli windows
npm install -g firebase-tools
Example 2: install firebase npm
$ npm init
$ npm install --save firebase
npm install -g firebase-tools
$ npm init
$ npm install --save firebase