# Install the CLI

The `rectifier` command reviews the changes in your checkout, before you push or open a pull request. It also teaches a coding agent to do the same.

## Install and sign in

1. Install it with `uv tool install imbik-rectifier`, or `pipx install imbik-rectifier`. It needs Python 3.10 or later, and git.
2. Sign in with `rectifier login`. It opens your browser. With no browser on the machine, run `rectifier login --no-browser` and open the link it prints.

On a machine with no person, such as CI, set `RECTIFIER_CLI_TOKEN` to a token from the dashboard's [CLI tokens page](https://app.rectifier.imbik.ai/#tokens). Keep the token in a password manager or a keychain, not in a repository.

## Review a change

```bash
rectifier review                # the branch
rectifier review --uncommitted  # changes you did not commit
```

The repository must be in an organization, group or workspace you connected, and the checkout's `origin` must be on `github.com`, `gitlab.com` or `bitbucket.org`. For a checkout on another host, `rectifier review --local` still works. Rectifier deletes what the command uploads within 3 weeks.

`rectifier review --uncommitted` lists the files it would send and asks you to agree first. It never sends ignored files. With no terminal, it sends nothing: it prints the list and a command with a confirmation code, and exits with code 3.

## Use it with a coding agent

Run `rectifier skill install` to add the skill. It gives your coding agent the commands and the rules. After you upgrade the CLI, run it again to update the skill. For the Claude Code plugin and the read-only MCP server, see [MCP server](mcp.md).

## Next

- [Rectifier CLI](cli.md): every option, exit codes and JSON fields
- [Read a review comment](review-comments.md)
