Short answer
Run the command from the COMMAND line yourself, usually firebase projects:list, to see the full error. Most often the Firebase CLI isn’t installed or isn’t on your PATH (install it and check firebase --version), or the saved login is missing or expired (firebase logout, then firebase login). Then run flutterfire configure again.
Why the Firebase CLI command fails, and the fix
01
The Firebase CLI isn’t installed, or isn’t on PATH
“The FlutterFire CLI currently requires the official Firebase CLI to also be installed” GitHub, FlutterFire CLI source (strings.dart)
When the firebase command can’t be found, the COMMAND line shows firebase --version and the ERROR says the official Firebase CLI is required. Install it, open a new terminal, and check that firebase --version prints a version number.
npm install -g firebase-tools firebase --version02
Not logged in, or the login expired
“This command connects your local machine to Firebase and grants you access to your Firebase projects.” Firebase, Firebase CLI reference
firebase projects:list fails with an authentication error when the saved login is missing or stale, which is common after switching Google accounts. Log out and back in with the Google account that has access to the Firebase project.
firebase logout firebase login firebase projects:list flutterfire configure03
The account can’t see or change the project
If projects:list works but your project is missing from it, or creating the Android or iOS app fails, the signed-in account lacks access. Ask the project owner to add the account in the Firebase console (Project settings, Users and permissions), then pass the project ID directly.
flutterfire configure --project=your-project-id
Checked against the vendor’s docs on : Firebase: Add Firebase to your Flutter app; Firebase CLI reference (install, firebase login); FlutterFire CLI source: FirebaseCommandException.
Rather hand it over?
Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.
- from $450App Fix TicketOne reproducible bug in an existing mobile or web app, diagnosed and fixed.See scope and start
- from $450AI-Built App RescueA Lovable, Bolt or Cursor app checked end to end in 3 days, then its worst problems fixed at a fixed price.No issues worth fixing, no charge. If the Launch Check finds nothing rated medium or higher, Simon refunds the full $450. You keep the report either way. This applies to the first 10 Launch Checks bought after October 30, 2026.See scope and start
Related: “firebase: command not found” (Firebase CLI) · “flutterfire: command not found” · Firebase “google-services” plugin not found · Firestore DEADLINE_EXCEEDED