firebase-basics

Configures Firebase CLI authentication, projects, and app config file downloads.

Updated May 21, 2025
One-click install
npx skills add https://github.com/albertmartorell1975/MeteoMartoCompose --skill firebase-basics-albertmartorell1975
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: firebase-basics
Source: https://github.com/albertmartorell1975/MeteoMartoCompose/tree/main/.agents/skills/firebase-basics
Command: npx skills add https://github.com/albertmartorell1975/MeteoMartoCompose --skill firebase-basics-albertmartorell1975

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Setting up Firebase for a new app involves repetitive CLI steps: installing firebase-tools, logging in, creating or selecting a project, and downloading config files like google-services.json. This Skill guides an AI agent through that foundational setup so developers avoid manual Firebase Console work. ## Core Features & Use Cases - CLI Setup & Authentication: Verifies Node.js and firebase-tools installation, and handles login including --no-localhost for remote environments. - Project Management: Creates new Firebase projects or switches the active project context with firebase use. - Config File Retrieval: Downloads google-services.json for Android or GoogleService-Info.plist for iOS programmatically via apps:sdkconfig. - Use Case: An Android developer starting Firebase integration asks the agent to log in, create a project, register the app package, and place google-services.json into the app/ directory without opening the Firebase Console. ## Quick Start Set up Firebase for my Android app by logging into the CLI, creating a project, and downloading the google-services.json config file.

Frequently Asked Questions about firebase-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download google-services.json using the Firebase CLI?▼

Run npx -y firebase-tools@latest apps:sdkconfig ANDROID <APP_ID> --project <PROJECT_ID> and save the output as app/google-services.json. This avoids manually downloading the file from the Firebase Console.

How to log in to Firebase CLI on a remote server without a browser?▼

Use npx -y firebase-tools@latest login --no-localhost instead of the standard login command. It provides a URL-based authentication flow that works in remote shells and headless environments.

How do I create a Firebase project from the command line?▼

Run npx -y firebase-tools@latest projects:create <project-id> --display-name "<display-name>". The project ID must be 6-30 characters, lowercase, globally unique, and may contain digits and hyphens.

What Node.js version does the Firebase CLI require?▼

The Firebase tooling setup requires Node.js version 20 or higher. The recommended installation method is a version manager like nvm on macOS/Linux or nvm-windows on Windows.

When should I not use this Firebase basics skill?▼

Do not use it for Firebase Hosting deploys, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config. It only covers CLI login, project creation or switching, and app config file downloads.