> Index: https://quebragalho.dev/en/docs/llms.txt

# QGCLI

No API key in a file and no prompt: you sign in through the browser.

- Protocol: Quebra-Galho's official harness
- Official: Quebra-Galho's own harness.

## Install and sign in

**Terminal**

```bash
npm install -g @quebragalho/cli
qg
qg doctor
```

- **Where to configure:** Nothing to configure: `npm install -g @quebragalho/cli`, then `qg`.
- **API key:** Browser login on the first `qg` run (or `qg login --device`). It also reads `QUEBRAGALHO_API_KEY`.

## Caveats

- `qg doctor` checks the install and the connection.
- Needs Node 18 or newer.

Read it in the browser: https://quebragalho.dev/en/docs/integracoes/qgcli
