Installation
Caatinga can be executed directly without global installation via npx or installed locally within your project.
Direct Execution (Recommended)
You can run any Caatinga command using npx with the ctg binary:
npx ctg --help
Local Installation
Add @caatinga/cli to your project’s dev dependencies:
pnpm add -D @caatinga/clinpm install -D @caatinga/cliyarn add -D @caatinga/cliVerifying Setup with Doctor
Run ctg doctor to run system checks against your environment:
npx ctg doctor
Output:
✓ Node.js version >= 22.0.0
✓ Rust toolchain installed (wasm32v1-none target active)
✓ Stellar CLI detected in PATH
✓ Config caatinga.config.ts validated