# Checkly CLI: Your Reliability Workflow

**Source**: https://www.checklyhq.com/cli/

> Deploy monitors, manage incidents, and run checks from your terminal. The Checkly CLI brings the reliability workflow into local development and CI.

## Core workflow

```bash
npx checkly init
npx checkly test
npx checkly deploy
```

- `init` scaffolds Checkly configuration and constructs in a repository.
- `test` validates and runs checks before they are deployed.
- `deploy` applies reviewed monitoring resources to a Checkly account.

The CLI also supports inspecting checks and results, managing incidents, installing agent skills, and working with accounts from scripts or CI jobs.

## Agent guardrails

Write commands use an explicit confirmation protocol. An unconfirmed write returns exit code 2 with a structured JSON envelope, allowing an agent or automation to show the intended mutation before it is applied.

## Monitoring as code

The CLI deploys typed Checkly constructs for browser and API checks, uptime monitors, alert channels, groups, dashboards, status pages, maintenance windows, and related resources. Files stay in Git, changes go through pull requests, and the same commands run locally and in CI.

## Related resources

- [CLI documentation](https://www.checklyhq.com/docs/cli/overview/)
- [Monitoring as Code](https://www.checklyhq.com/product/monitoring-as-code/)
- [Agent Skills](https://www.checklyhq.com/docs/ai/skills/)
- [MCP server](https://www.checklyhq.com/docs/ai/mcp-server/)
- [CLI releases](https://www.checklyhq.com/changelog/cli/)
- [npm package](https://www.npmjs.com/package/checkly)
