Google CLI
Install and validate the Google Cloud CLI (gcloud) for cloud/operator workflows.
Default State
- Bundled with KafClaw
- Disabled by default
Check
kafclaw skills prereq check google-cli
Install Plan
kafclaw skills prereq install google-cli --dry-run
Install
kafclaw skills prereq install google-cli --yes
The installer uses Go-native OS routines (APT on Linux, Homebrew on macOS).
Enable Skill
kafclaw skills enable-skill google-cli
Usage
- Verify auth status:
gcloud auth list
- Verify active project:
gcloud config get-value project
Troubleshooting
- If install fails on Linux, run package metadata update and retry.
- If
gcloudis not found after install, ensure your shellPATHincludes the install location. - If auth fails in headless environments, use device/browser-based auth flow from Google CLI.