Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Update CLI mode docs to accurately reflect settings workflow (#9134)

Graham Neubig98e0f5509c3f
diff --git a/docs/usage/how-to/cli-mode.mdx b/docs/usage/how-to/cli-mode.mdx
index 76e901cdde..e31ed4cda1 100644
--- a/docs/usage/how-to/cli-mode.mdx
+++ b/docs/usage/how-to/cli-mode.mdx
@@ -17,13 +17,14 @@ for scripting.
pip install openhands-ai
```
-2. Set your model, API key, and other preferences using environment variables or with the [`config.toml`](https://github.com/All-Hands-AI/OpenHands/blob/main/config.template.toml) file.
-3. Launch an interactive OpenHands conversation from the command line:
+2. Launch an interactive OpenHands conversation from the command line:
```bash
openhands
```
+3. Set your model, API key, and other preferences using the UI (or alternatively environment variables, below).
+
This command opens an interactive prompt where you can type tasks or commands and get responses from OpenHands.
#### For Developers