flutterfire_cli
1.5.0, released 12 days ago by invertase.io
CLI to configure Firebase services in Flutter projects
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.
- firebase_core_web
Web implementation of firebase_core for Flutter apps.
83Compare - firebase_storage_web
Web implementation of Firebase Storage for Flutter.
77Compare - firebase_analytics_web
Web implementation of Firebase Analytics for Flutter apps.
77Compare
Works with
Packages commonly used together with flutterfire_cli: ones it builds on, ones built on it, and its own family.
- yamlflutterfire_cli depends on itA Dart library for parsing YAML documents into Dart data structures.
- pub_semverflutterfire_cli depends on itVersions and version constraints implementing pub's versioning policy.
- xmlflutterfire_cli depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- platformflutterfire_cli depends on itCross‑platform abstraction for querying runtime platform info in Dart.
- pubspec_parseflutterfire_cli depends on itParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- argsflutterfire_cli depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- fileflutterfire_cli depends on itPluggable, mockable file system abstraction for Dart with in-memory support.
- cli_utilflutterfire_cli depends on itUtilities to help build Dart command-line apps, find the SDK, and display progress.