install firebase npm

Shell
$ npm init
$ npm install --save firebase
$ npm init
$ npm install --save firebase


Source

Also in Shell: