mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 12:20:22 +00:00
docs: explain anthropic claude cli migration
This commit is contained in:
@@ -113,6 +113,26 @@ Optional ops scripts (systemd/Termux) are documented here:
|
||||
|
||||
> `claude setup-token` requires an interactive TTY.
|
||||
|
||||
## Anthropic: Claude CLI migration
|
||||
|
||||
If Claude CLI is already installed and signed in on the gateway host, you can
|
||||
switch an existing Anthropic setup over to the CLI backend instead of pasting a
|
||||
setup-token:
|
||||
|
||||
```bash
|
||||
openclaw models auth login --provider anthropic --method cli --set-default
|
||||
```
|
||||
|
||||
This keeps your existing Anthropic auth profiles for rollback, but changes the
|
||||
default model selection to `claude-cli/...` and adds matching Claude CLI
|
||||
allowlist entries under `agents.defaults.models`.
|
||||
|
||||
Onboarding shortcut:
|
||||
|
||||
```bash
|
||||
openclaw onboard --auth-choice anthropic-cli
|
||||
```
|
||||
|
||||
## Checking model auth status
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user