Smathr CLI

The same tools you love — now in your terminal.

Built first for AI agents, but just as useful for humans. Fast, private, and designed for data engineering workflows.

Available nownpx smathr works today. Standalone binaries for macOS, Linux, and Windows are in active preparation.

Quick Start

Try it instantly (no install)
npx smathr --help
Install globally
npm install -g smathr

What’s included

smathr validate json

Validate, repair, and format JSON with jsonrepair

smathr validate yaml

Validate and reformat YAML configs

smathr convert

Bidirectional JSON ↔ YAML conversion

smathr format sql

Pretty-print, minify, or one-line SQL (8 dialects)

smathr csv profile

Profile CSVs + generate BigQuery, dbt, and JSON schemas

Why the CLI?

Built for agents

Structured JSON output, reliable exit codes, and clear error details with line/column information.

Private by default

Everything runs locally. No data is ever sent anywhere.

Data engineering focused

dbt, BigQuery, Airflow, Snowflake — the tools and examples are built for real data work.

View on GitHubFull documentation & examplesBack to all tools
The first release with standalone binaries will be announced on the GitHub releases page and here on smathr.com.