We have already seen in Chapter 5,
npm install -g firebase-tools
Once we have the Firebase CLI installed, we will log in to the firebase console using this command:
firebase login
This command will open up a browser URL and will ask you to log in. After a successful login, you can go to the next step—initialization of the Firebase project.