# Headless Mode

> Headless Mode — Turso documentation.
> Canonical HTML: https://tursodb.cn/docs/cli/headless-mode/
> Upstream Source (MIT): https://docs.turso.tech/cli/headless-mode
> Language: en

---
The Turso CLI will automatically attempt to open a browser, or wait for further instructions when interacting with various commands.

You can opt out of this behaviour by passing the `--headless` flag with operations:

```bash
turso auth login --headless
```

<div class="doc-callout doc-callout-info"><div class="doc-callout-title">NOTE</div><div class="doc-callout-body">

If you're using Windows with WSL or a remote CI/CD environment, pass the `--headless` flag.

</div></div>
