@@ -56,49 +56,49 @@ Its custom accessibility-tree snapshot format reduces prompt footprint by **46%+
5656
5757## 📦 Installation
5858
59- ### Choose an install path
59+ ### macOS
6060
61- | Use case | Recommended path | Notes |
62- | ---------| ------------------| -------|
63- | macOS local usage | Homebrew | Installs an OCR-enabled build and pulls in ` tesseract ` |
64- | Linux/macOS manual deployment | GitHub Releases | Download the prebuilt archive and make sure Tesseract runtime libraries are present |
65- | Go-based integration or custom builds | From source | Best when embedding ` kbr ` into your own toolchain |
66-
67- ### Homebrew
61+ Use Homebrew:
6862
6963``` bash
7064brew tap libi/tap
7165brew install ko-browser
72- # or without tapping first:
66+
67+ # or install directly without tapping first
7368brew install libi/tap/ko-browser
7469```
7570
76- > Homebrew installs ` kbr ` with OCR enabled .
77- > It pulls in ` tesseract ` automatically and builds from source .
71+ > This installs the OCR-enabled ` kbr ` build .
72+ > Homebrew also pulls in ` tesseract ` automatically.
7873> The tap repository is [ libi/homebrew-tap] ( https://github.com/libi/homebrew-tap ) .
7974
80- ### Pre-built binaries
75+ ### Windows
8176
82- Download from [ GitHub Releases] ( https://github.com/libi/ko-browser/releases ) :
77+ Download the latest release package from [ GitHub Releases] ( https://github.com/libi/ko-browser/releases ) , then unzip and run ` kbr.exe ` .
8378
84- > Release binaries are also built with OCR enabled.
85- > Install Tesseract first so the runtime OCR libraries are available: ` brew install tesseract ` on macOS, ` apt install libtesseract-dev ` on Linux.
79+ ``` powershell
80+ Invoke-WebRequest -Uri https://github.com/libi/ko-browser/releases/latest/download/ko-browser-windows-amd64.zip -OutFile ko-browser-windows-amd64.zip
81+ Expand-Archive .\ko-browser-windows-amd64.zip -DestinationPath .\ko-browser
82+ .\ko-browser\kbr.exe --help
83+ ```
8684
87- ``` bash
88- # macOS (Apple Silicon)
89- curl -LO https://github.com/libi/ko-browser/releases/latest/download/ko-browser-darwin-arm64.tar.gz
90- tar xzf ko-browser-darwin-arm64.tar.gz
91- mv kbr /usr/local/bin/kbr
85+ If you want to use ` kbr ` globally, move ` kbr.exe ` into a directory that is already in your ` PATH ` , or add the extracted folder to ` PATH ` .
86+
87+ ### Linux
9288
93- # macOS (Intel)
94- curl -LO https://github.com/libi/ko-browser/releases/latest/download/ko-browser-darwin-amd64.tar.gz
95- tar xzf ko-browser-darwin-amd64.tar.gz
96- mv kbr /usr/local/bin/kbr
89+ Download the latest release package from [ GitHub Releases] ( https://github.com/libi/ko-browser/releases ) , extract it, and place ` kbr ` somewhere in your ` PATH ` .
9790
98- # Linux (amd64)
91+ ``` bash
9992curl -LO https://github.com/libi/ko-browser/releases/latest/download/ko-browser-linux-amd64.tar.gz
10093tar xzf ko-browser-linux-amd64.tar.gz
101- mv kbr /usr/local/bin/kbr
94+ chmod +x kbr
95+ sudo mv kbr /usr/local/bin/kbr
96+ ```
97+
98+ Release binaries are built with OCR enabled, so make sure the Tesseract runtime is available on the host:
99+
100+ ``` bash
101+ sudo apt install libtesseract-dev
102102```
103103
104104### From source
0 commit comments