LinuxCommandLibrary

flutterfire

CLI for setting up Firebase in Flutter projects

TLDR

Configure Firebase

$ flutterfire configure
copy
Reconfigure specific platform
$ flutterfire configure --platforms=[android,ios]
copy
Configure with specific project
$ flutterfire configure --project=[firebase-project-id]
copy
Update configuration
$ flutterfire configure --yes
copy

SYNOPSIS

flutterfire command [options]

DESCRIPTION

flutterfire is the CLI for setting up Firebase in Flutter projects. It automates the configuration process, generating platform-specific files and Dart code.
The tool connects to your Firebase project and downloads configuration for selected platforms. It generates firebase_options.dart for initializing Firebase in your Flutter app.
flutterfire eliminates manual copying of configuration files and ensures consistency across platforms.

PARAMETERS

COMMAND

Operation: configure, install.
configure
Set up Firebase for Flutter project.
--project ID
Firebase project ID.
--platforms LIST
Platforms to configure.
--yes
Accept defaults without prompts.
--out FILE
Output configuration file path.
--help
Display help information.

CAVEATS

Requires Firebase CLI and authentication. Firebase project must exist. Platform SDKs needed for each target.

HISTORY

flutterfire was created by the FlutterFire team to simplify Firebase integration in Flutter apps. It replaced manual configuration with automated setup across all supported platforms.

SEE ALSO

flutter(1), firebase(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community