# CLI

Install the omazy binary, sign in, and drive your workspace from the terminal.

Source: https://docs.omazy.ai/reference/cli/

`omazy` drives Omazy CX from the terminal: configure the agent, work the inbox,
and manage the widget. It talks to the middleware at `https://mw.omazy.ai/api/v1`.

## Install

```sh
curl -fsSL https://cli.omazy.ai/install.sh | sh
```

The installer verifies the SHA-256 of the release archive and refuses to
continue if it cannot. It installs to `/usr/local/bin` when that is writable,
otherwise `~/.local/bin`.

Confirm it worked:

```sh
omazy version
```

Windows is not covered by the installer yet. Download the `.zip` from the
releases page and put `omazy.exe` on your `PATH`.

## Sign in

```sh
omazy auth login --email you@example.com
```

Omazy emails a one-time code. The CLI exchanges it for tokens scoped to this
machine. There is no browser step, so this works over SSH and inside containers.

## Coming in this section

Full command reference, profiles and scoping, output formats, and revoking
access for a single machine.
