how to install firebase in react app code example Example: install firebase in react $ npm install firebase # or $ yarn add firebase