Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

903 B

Firebase CLI usage

The Firebase CLI (firebase-tools) is the primary tool for managing Firebase projects and resources from the command line.

Use npx for Firebase CLI commands: To ensure you always use the latest version of the Firebase CLI, always run commands with npx -y firebase-tools@latest instead of just firebase. (e.g., use npx -y firebase-tools@latest --version instead of firebase --version).

Exploring commands

The Firebase CLI documents itself. Use help commands to discover functionality.

  • Global help: List all available commands and categories:

    npx -y firebase-tools@latest --help
    
  • Command help: Get detailed usage for a specific command:

    npx -y firebase-tools@latest [command] --help
    
    # Example:
    npx -y firebase-tools@latest deploy --help
    npx -y firebase-tools@latest firestore:indexes --help