Skip to content
pubscout

flutterfire_cli

1.5.0, released 12 days ago by invertase.io

CLI to configure Firebase services in Flutter projects

$ flutter pub add flutterfire_cli
Source repository

What it does

The FlutterFire CLI automates adding Firebase configuration files, generating web service workers, and updating project settings. It supports Android, iOS, macOS, Windows, and Linux builds.

AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to add or update Firebase services in a Flutter app
  • You want to automate configuration across multiple platforms
  • You are working with jaspr or web projects and need Firebase messaging support

Skip it when

  • You only need runtime Firebase SDKs without configuration automation
  • You prefer manual editing of configuration files

Strengths

  • Automates multi-platform Firebase setup
  • Supports web, mobile, and desktop platforms
  • Provides flags for custom display names and project names

Weaknesses

  • Requires Dart global activation
  • CLI only, no runtime library integration
  • Limited to Firebase configuration, not runtime SDKs

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
17

Activate globally: `dart pub global activate flutterfire_cli` then run `flutterfire configure` in your project directory

```bash
# Inside your Flutter app directory
flutterfire configure
```

Alternatives

Packages that do the same job and could replace flutterfire_cli.

Works with

Packages commonly used together with flutterfire_cli: ones it builds on, ones built on it, and its own family.