senternet-site-gcloud-auth

Installs and authenticates the Google Cloud SDK and Firebase CLI for site setup workflows.

Updated May 8, 2026
One-click install
npx skills add https://github.com/MattSenter/senternet-site-skills --skill senternet-site-gcloud-auth-mattsenter
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: senternet-site-gcloud-auth
Source: https://github.com/MattSenter/senternet-site-skills/tree/main/.claude/skills/senternet-site-gcloud-auth
Command: npx skills add https://github.com/MattSenter/senternet-site-skills --skill senternet-site-gcloud-auth-mattsenter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up Google Cloud and Firebase credentials is a common blocker before any workflow that creates Firebase projects or GA4 properties. This Skill walks through installing and authenticating both CLIs on macOS, Linux, and Windows so subsequent Firebase and Google Analytics steps work without manual credential debugging. ## Core Features & Use Cases - Cross-platform installation: Detects the operating system and installs the Google Cloud SDK via Homebrew, apt, snap, or winget, plus the Firebase CLI via npm. - Browser-based authentication: Runs gcloud auth login and firebase login, with headless fallbacks like firebase login --no-localhost for SSH sessions. - Re-authentication handling: Recovers from expired credentials using gcloud auth login and firebase login --reauth, then verifies with gcloud auth list and firebase projects:list. - Use Case: Before running a site-creation workflow that provisions a Firebase project and GA4 property, run this once per machine to ensure both CLIs are installed and signed in with the correct Google account. ## Quick Start Authenticate my machine with gcloud and the Firebase CLI so I can create Firebase projects and GA4 properties.

Frequently Asked Questions about senternet-site-gcloud-auth

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

FAQPage Schema
How do I authenticate gcloud and Firebase CLI on a new machine?▼

Install the Google Cloud SDK for your OS, run `gcloud auth login` to sign in via browser, install the Firebase CLI with `npm install -g firebase-tools`, then run `firebase login`. Verify both with `gcloud auth list` and `firebase projects:list`.

How do I install the Google Cloud SDK on macOS, Linux, or Windows?▼

On macOS use `brew install --cask google-cloud-sdk` and source the path file in your shell config. On Linux use the curl install script, snap, or apt. On Windows use `winget install Google.CloudSDK` from PowerShell.

Can I use firebase login on a headless Linux server over SSH?▼

Yes, use `firebase login --no-localhost`, which prints a URL to open on another machine for sign-in. For gcloud, the standard browser flow is preferred unless the machine is explicitly headless.

Why does firebase projects:list fail after being idle?▼

Firebase CLI tokens expire after idle periods. Run `firebase login --reauth` first, then retry `firebase projects:list`. If that still fails, repeat the full login flow with `firebase login`.

What should I do when gcloud auth list shows no active account?▼

Run `gcloud auth login` immediately to start the browser-based sign-in flow. If credentials remain expired after that, run `gcloud auth revoke` followed by `gcloud auth login` to fully re-authenticate.