Skip to content

Commit ea0767f

Browse files
committed
docs(readme): document bcode.sh/install one-liner
1 parent ef641ce commit ea0767f

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ An AI coding agent that drives real browsers. Forks
44
[anomalyco/opencode](https://github.com/anomalyco/opencode) and vendors
55
[browser-use/browser-harness](https://github.com/browser-use/browser-harness).
66

7-
> Pre-release. No installable artifact yet — clone and run from source.
7+
## Install
8+
9+
```sh
10+
curl -fsSL https://bcode.sh/install | bash
11+
```
12+
13+
Installs `bcode` to `~/.bcode/bin`. macOS, Linux, and Windows (Git Bash).
14+
Also requires `uv` ([install](https://astral.sh/uv/install.sh)) and Chrome
15+
with `chrome://inspect` enabled (or `BU_CDP_WS` set to a remote CDP endpoint).
816

917
## What's different from opencode
1018

@@ -16,17 +24,15 @@ An AI coding agent that drives real browsers. Forks
1624

1725
## Run from source
1826

19-
Prereqs: `bun >= 1.3.13`, `uv` ([install](https://astral.sh/uv/install.sh)),
20-
Chrome with `chrome://inspect` enabled (or `BU_CDP_WS` pointing at a remote
21-
CDP endpoint).
22-
2327
```sh
2428
git clone https://github.com/browser-use/browsercode.git
2529
cd browsercode
2630
bun install
2731
bun run --cwd packages/opencode dev
2832
```
2933

34+
Needs `bun >= 1.3.13` plus the runtime prereqs above.
35+
3036
The first `browser_execute` call builds a Python venv at
3137
`packages/bcode-browser/harness/.venv/` (cold ~15s, warm ~50ms after).
3238

@@ -59,6 +65,7 @@ The first `browser_execute` call builds a Python venv at
5965
- `opencode-sync.md` — runbook for syncing from anomalyco/opencode.
6066
- `harness-sync.md` — runbook for syncing from browser-use/browser-harness.
6167
- `AGENTS.md` — code style + maintenance notes for agents working in this repo.
68+
- `install.sh` — what `bcode.sh/install` serves.
6269

6370
## License
6471

0 commit comments

Comments
 (0)