Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openhands/usage/run-openhands/cli-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configuration format has changed.

**Install OpenHands:**
```bash
uv tool install openhands
uv tool install openhands --python 3.12
```

**Run OpenHands:**
Expand All @@ -40,7 +40,7 @@ configuration format has changed.

**Upgrade OpenHands:**
```bash
uv tool upgrade openhands
uv tool upgrade openhands --python 3.12
```
</Tab>
<Tab title="Executable Binary">
Expand Down Expand Up @@ -97,7 +97,7 @@ configuration format has changed.
--add-host host.docker.internal:host-gateway \
--name openhands-cli-$(date +%Y%m%d%H%M%S) \
python:3.12-slim \
bash -c "pip install uv && uv tool install openhands && openhands"
bash -c "pip install uv && uv tool install openhands --python 3.12 && openhands"
```

The `-e SANDBOX_USER_ID=$(id -u)` is passed to the Docker command to ensure the sandbox user matches the host user’s
Expand Down
2 changes: 1 addition & 1 deletion openhands/usage/run-openhands/gui-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can launch the OpenHands GUI server directly from the command line using the

<Info>
**Prerequisites**: You need to have the [OpenHands CLI installed](/usage/run-openhands/cli-mode) first, OR have `uv`
installed and run `uv tool install openhands` and `openhands server`. Otherwise, you'll need to use Docker
installed and run `uv tool install openhands --python 3.12` and `openhands server`. Otherwise, you'll need to use Docker
directly (see the [Docker section](#using-docker-directly) below).
</Info>

Expand Down
4 changes: 2 additions & 2 deletions openhands/usage/run-openhands/local-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ See the [uv installation guide](https://docs.astral.sh/uv/getting-started/instal

**Install OpenHands**:
```bash
uv tool install openhands
uv tool install openhands --python 3.12
```

**Launch OpenHands**:
Expand All @@ -97,7 +97,7 @@ This will automatically handle Docker requirements checking, image pulling, and

**Upgrade OpenHands**:
```bash
uv tool upgrade openhands
uv tool upgrade openhands --python 3.12
```

<Accordion title="Alternative: Traditional pip installation">
Expand Down
4 changes: 2 additions & 2 deletions openhands/usage/windows-without-wsl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ After installation, restart your PowerShell session to ensure the environment va
After installing the prerequisites, install OpenHands with:

```powershell
uv tool install openhands
uv tool install openhands --python 3.12
```

Then run OpenHands:
Expand All @@ -178,7 +178,7 @@ openhands
To upgrade OpenHands in the future:

```powershell
uv tool upgrade openhands
uv tool upgrade openhands --python 3.12
```

### Troubleshooting CLI Issues
Expand Down