---
title: Work with the CLI
description: The thally commands you will actually use day to day.
url: https://github-access-check.staging.thally.app/guides/work-with-the-cli
---

# Work with the CLI

The thally commands you will actually use day to day.

Install once, then run every command from the repository root:

```bash
npm install --global @thallylabs/cli
```

## The daily loop

    ```bash
    thally dev
    ```

    Serves the site with search, agent endpoints, and the API playground
    live, so what you review locally is what readers get.

    ```bash
    thally new deploy-guide --title "Deploy your first project"
    ```

    Creates the page and registers it in `docs.json` in one step.

    ```bash
    thally check
    ```

    Lints content, verifies links and navigation, and scores how well the
    site answers questions for AI tools — the same Agent Readiness score the
    Cloud dashboard shows. Add `--fix` for autofixable issues, `--ci` in
    pipelines.

## Let the CLI write the first draft

`thally agent` turns a change you describe — or a merged pull request — into a
reviewed docs update:

```bash
thally agent "document the new webhook retry behavior" --pr
```

Wire it to your product repositories with `thally track add <owner/repo>` and
merged product PRs open docs PRs on their own.

## Everything else

```bash
thally --help
```

Translation (`thally translate`), migration (`thally migrate`), deployment
(`thally deploy`), and starter updates (`thally starter update`) each print
their own usage.