> ## Documentation Index
> Fetch the complete documentation index at: https://www.octoparse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Octoparse CLI-Befehlsreferenz

> Schneller Syntaxindex für Authentifizierung, Browser, Aufgaben, Vorlagen, Erkennung, lokale Läufe, Cloud-Zeitpläne, Automatisierung und Datenbefehle der Octoparse CLI.

Diese Seite dient als Syntaxindex. Ausführliche Informationen zu Einrichtung, Verhalten, Beispielen und Fehlerbehebung finden Sie in den verlinkten Anleitungen.

Die meisten Funktionsbefehle erfordern eine Authentifizierung. Spitze Klammern wie `<taskId>` kennzeichnen erforderliche Platzhalter.

## Befehlsgruppen

| Ziel                              | Befehle                             | Anleitung                                                       |
| --------------------------------- | ----------------------------------- | --------------------------------------------------------------- |
| Installieren und authentifizieren | `auth`, `doctor`                    | [Authentifizierung](../quick-start/get-api-key-and-log-in)      |
| Browser auswählen                 | `browser`                           | [Browser-Modi](../guides/browser-modes)                         |
| Aufgaben verwalten                | `task`, `task-group`                | [Aufgaben und Gruppen](../guides/tasks-and-groups)              |
| Vorlagen verwenden                | `template`, `template-task`         | [Vorlagen verwenden](../guides/templates)                       |
| Aus einer URL erstellen           | `detect`                            | [Aufgaben aus einer URL erstellen](../guides/detect)            |
| Lokal ausführen                   | `run`, `local`                      | [Lokale Läufe](../guides/local-runs)                            |
| In der Cloud ausführen            | `cloud`, `schedule`                 | [Cloud-Läufe und Zeitpläne](../guides/cloud-runs-and-schedules) |
| Daten prüfen und exportieren      | `data`                              | [Daten und Export](../guides/data)                              |
| Automatisieren                    | `capabilities`, `--json`, `--jsonl` | [Automatisierung und Agenten](../guides/automation)             |

## Hilfe und Diagnose

```bash theme={null}
octoparse --help
octoparse --version
octoparse capabilities --json
octoparse doctor --json
octoparse browser status --json
```

## Authentifizierung

```bash theme={null}
octoparse auth login
octoparse auth login --oauth
octoparse auth login <apiKey>
octoparse auth login --stdin
octoparse auth status --json
octoparse auth info --json
octoparse auth logout
```

## Aufgaben und Gruppen

```bash theme={null}
octoparse task list [--page <n>] [--page-size <n>] [--limit <n>] [--keyword <text>] [--task-group <groupId>] [--template-id <id>] [--json]
octoparse task show <taskId> [--json]
octoparse task copy <taskId> [--task-group <groupId>] [--json]
octoparse task rename <taskId> --name <name> --yes [--json]
octoparse task move <taskId> --task-group <groupId> --yes [--json]
octoparse task delete <taskId> --yes [--json]
octoparse task inspect <taskId> [--task-file <file.json|file.xml|file.otd>] [--json]
octoparse task validate <taskId> [--task-file <file.json|file.xml|file.otd>] [--json]

octoparse task-group list [--json]
octoparse task-group create <name> [--json]
octoparse task-group update <groupId> --name <name> --yes [--json]
octoparse task-group delete <groupId> --yes [--json]
octoparse task-group set-default <groupId> --yes [--json]
```

## Vorlagen

```bash theme={null}
octoparse template search <keyword> [--page <n>] [--page-size <n>] [--sort <n>] [--json]
octoparse template view <templateId> [--json]
octoparse template version <templateId> [--json]
octoparse template-task create <templateId> [--name <taskName>] [--task-group <groupId>] [--param key=value]... [--params <json>|--params-file <file>] [--dry-run] [--json]
octoparse template-task update <taskId> [--params <json>|--params-file <file>] --yes [--json]
```

## Erkennung und Browser

```bash theme={null}
octoparse detect <url> --auto [--goal <text>] [--output task.json] [--json]
octoparse detect <url> --manual [--goal <text>] [--output task.json]
octoparse detect <url> --agent --agent-command <cmd> [--goal <text>] [--run-sample <n>] [--json]

octoparse browser use independent|user [--browser-id chrome|edge] [--profile <name>] [--json]
octoparse browser status [--browser-id chrome|edge] [--profile <name>] [--json]
octoparse browser profiles [--browser-id chrome|edge] [--json]
octoparse browser install [--browser-id chrome|edge] [--profile <name>] [--force-close] [--json]
```

## Lokale Läufe

```bash theme={null}
octoparse run <taskId> [--task-file <file>] [--output <dir>] [--max-rows <n>] [--detach] [--headless] [--json|--jsonl]
octoparse local status <taskId> [--output <dir>] [--json]
octoparse local pause <taskId> [--json]
octoparse local resume <taskId> [--json]
octoparse local stop <taskId> [--json]
octoparse local history <taskId> [--output <dir>] [--json]
octoparse local cleanup [--json]
```

## Cloud-Läufe und Zeitpläne

```bash theme={null}
octoparse cloud start <taskId> [--json]
octoparse cloud stop <taskId> [--json]
octoparse cloud status <taskId> [--json]
octoparse cloud history <taskId> [--json]

octoparse schedule cloud get <taskId> [--json]
octoparse schedule cloud next --type <type> --date <value> --time <value> [--month <value>] [--json]
octoparse schedule cloud update <taskId> --type <type> --date <value> --time <value> [--month <value>] [--enabled true|false] --yes [--json]
octoparse schedule cloud start <taskId> --yes [--json]
octoparse schedule cloud stop <taskId> --yes [--json]
```

## Daten

```bash theme={null}
octoparse data history <taskId> [--source local|cloud] [--output <dir>] [--json]
octoparse data count <taskId> [--source local|cloud] [--unexported] [--json]
octoparse data preview <taskId> [--source local|cloud] [--limit <n>] [--offset <n>] [--unexported] [--json]
octoparse data export <taskId> [--source local|cloud] [--file <result.xlsx>] [--lot-id <lotId>] [--output <dir>] [--format xlsx|csv|html|json|xml] [--unexported] [--json]
```

## Interne Befehle

`env` und `runs` sind interne Befehle für Support und Artefaktprüfung. Verwenden Sie vorzugsweise die öffentlichen Workflows mit Aufgaben-ID, Batch-ID, `local` und `data`, sofern der Octoparse-Support nichts anderes vorgibt.

<Tip>
  Führen Sie `octoparse <command> --help` für die installierte Version aus und verwenden Sie `octoparse capabilities --json`, um Automatisierungsmetadaten abzurufen.
</Tip>
