> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
$schema: https://holocron.so/frontmatter.json
title: "Login"
description: "Authenticate with Strada via browser-based device flow."
icon: lucide:log-in
---

# login

Authenticate with Strada via browser-based device flow.

Opens a browser window for Google OAuth approval. The CLI polls until
approved, then saves the session token to \~/.strada/config.json.

Requires an interactive TTY. In non-interactive environments (agents, CI),
run inside a tuistory or tmux session:

bunx tuistory launch "strada login" -s strada-login
bunx tuistory -s strada-login wait "/Your code:|https?:///i" --timeout 15000

## Usage

```sh
strada login
```

## Options

| Option            | Default | Description                                                          |
| ----------------- | ------- | -------------------------------------------------------------------- |
| `-u, --url [url]` | -       | Strada website URL (default: [https://strada.sh](https://strada.sh)) |

## Global Options

| Option          | Default | Description            |
| --------------- | ------- | ---------------------- |
| `-h, --help`    | -       | Display this message   |
| `-v, --version` | -       | Display version number |
