CLI

CLI Overview

The pico-intl CLI is a companion developer tool for managing translation files, running validation, scanning source usage, and moving catalogs between common formats. Provider-backed translation remains beta.

ts
npx pico-intl init --base en --targets es,fr
npx pico-intl validate --strict
npx pico-intl check --src ./src --strict

Key points

  • CLI file workflows are stable in v1.
  • Use validate for catalog parity.
  • Use check to scan source usage before merging.

Next step

Copy the example into a small fixture, run the validation commands, and keep framework-specific routing, hydration, or SSR behavior covered by your app tests.