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