Install Firebase CLI

Once the project is ready you'll need to install Firebase CLI which is necessary for some tasks ahead.

You can install the Firebase CLI using this automatic script which automatically detects your operating system, downloads the latest Firebase CLI release, then enables the globally available firebase command.

curl -sL https://firebase.tools | bash

You can also use npm to install the Firebase CLI

npm install -g firebase-tools

Log in and test

After installing the CLI, you must authenticate

firebase login

Then you can confirm authentication by listing your Firebase projects

firebase projects:list
Edit this page on GitHub Updated at Tue, May 10, 2022