π OpenHands: AI-Driven Development
docs: add Docker and NPM install instructions to README (#806)
Rohit Malhotra857f3384b829
diff --git a/README.md b/README.mdindex 6a7308832b..1218558504 100644--- a/README.md+++ b/README.md@@ -27,8 +27,6 @@ If you have questions or feedback, please open a GitHub issue or join the [#proj## Quickstart-### Direct Install-You can install OpenHands to run agents on any machine: on your laptop, on a dedicated computer like a Mac Mini,or on a server in the cloud.@@ -41,13 +39,47 @@ them from the same Agent Canvas frontend. E.g. you can share an Agent Server witcode review and dependency updates, then have your personal agents running on your laptop.> [!WARNING]-> This runs the agent-server directly on the machine you're installing on--the agent will have full access to your filesystem!+> This runs the agent-server directly on the machine you're installing on β the agent will have full access to your filesystem!++### Option 1: Docker++```sh+docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.6+```++```sh+export PROJECTS_PATH=~/projects # directory containing your project folders+```++```sh+docker run -it --rm \+ -p 8000:8000 \+ -v ~/.openhands:/home/openhands/.openhands \+ -v ${PROJECTS_PATH}:/projects \+ ghcr.io/openhands/agent-canvas:1.0.0-alpha.6+```++The agent will be able to access any project under `PROJECTS_PATH`.-**Prerequisites**:+### Option 2: NPM-- Node.js 22.12.x or later-- `npm`-- `uv` (for running the agent server via `uvx`)+**Prerequisites**: Node.js 22.12.x or later, `uv`++```sh+npm install -g @openhands/agent-canvas+```++```sh+export PROJECTS_PATH=~/projects # directory containing your project folders+```++```sh+agent-canvas+```++### Option 3: From Source++**Prerequisites**: Node.js 22.12.x or later, `npm`, `uv` (for running the agent server via `uvx`)```shgit clone https://github.com/OpenHands/agent-canvas.git@@ -56,6 +88,8 @@ npm installnpm run dev```+---+Access the UI at [http://localhost:8000](http://localhost:8000). You can add additional backends directly from the UI.# Architecture