# Xata Using CLI

> xata CLI, pgroll, scratch branches, metrics

**Subcategory:** Xata  
**License:** Apache-2.0  
**Source:** https://github.com/xataio/skills/blob/main/skills/using-xata-cli/SKILL.md

---

## When it is useful

Manage Xata via the xata CLI — projects, branches, pgroll migrations, scratch branches, metrics, logs, connection strings.

## The Catch

Loud: $0 forever path is Open Source self-host (branching/scale-to-zero) — verified xata.io/pricing. Xata Cloud is 14-day free trial then PAYG from ~$0.012/hr + $0.28/GB/mo storage — not a forever free Cloud hatch. Skills Apache-2.0 LICENSE 200. Distinct from Neon/Supabase/Postgres gems and Redis BH. Frontmatter name using-xata-cli.
