@@ -43,13 +43,21 @@ Then from a second terminal:
4343./bin/neru hints # should show hint overlays
4444```
4545
46+ > [ !IMPORTANT]
47+ > On macOS this needs Accessibility permission granted to whichever app starts
48+ > the daemon — your terminal, when you run ` ./bin/neru launch ` by hand. Without
49+ > it the smoke test reports an accessibility error instead of drawing overlays.
50+ > Same grant, same place as for the integration tests: see
51+ > [ Running integration tests] ( #running-integration-tests ) .
52+
4653There is no ` just run ` recipe — build first, then launch the daemon directly.
4754The CLI talks to the running daemon over a socket, so both halves come from the
4855same ` ./bin/neru ` binary.
4956
5057For end-user installation (Homebrew, Nix, prebuilt binaries) see
51- [ INSTALLATION.md] ( INSTALLATION.md ) ; for preparing a Linux host see
52- [ LINUX_SETUP.md] ( LINUX_SETUP.md ) .
58+ [ INSTALLATION.md] ( INSTALLATION.md ) ; on Linux,
59+ [ LINUX_SETUP.md] ( LINUX_SETUP.md ) covers both preparing the host and the
60+ [ build dependencies] ( LINUX_SETUP.md#build-dependencies ) a source build needs.
5361
5462---
5563
@@ -59,13 +67,17 @@ For end-user installation (Homebrew, Nix, prebuilt binaries) see
5967
6068- ** Go 1.26+** — [ Install Go] ( https://golang.org/dl/ )
6169- ** Xcode Command Line Tools** (macOS) — ` xcode-select --install `
70+ - ** Build dependencies** (Linux) — the system ` -dev ` /` -devel ` packages a CGO
71+ build links against, listed for apt, dnf and pacman in
72+ [ LINUX_SETUP.md] ( LINUX_SETUP.md#build-dependencies ) . Install them before your
73+ first build, including under Devbox.
6274- ** Just** — command runner — [ install] ( https://github.com/casey/just )
6375- ** golangci-lint** — linter — [ install] ( https://golangci-lint.run/usage/install/ )
6476
6577### Option A: Devbox (recommended)
6678
6779[ Devbox] ( https://www.jetify.com/devbox ) provides an isolated environment with
68- every tool pre-configured:
80+ the toolchain below pre-configured:
6981
7082``` bash
7183curl -fsSL https://get.jetify.com/devbox | bash
@@ -80,6 +92,13 @@ in the repo root takes over whenever you `cd` in.
8092Devbox manages Go 1.26+, gopls, gotools, gofumpt, golines, golangci-lint, just,
8193and clang-tools (for CGo).
8294
95+ On Linux it is not enough on its own: Devbox does not pull the ` -dev ` outputs a
96+ CGO build links against
97+ ([ jetify-com/devbox #2761 ] ( https://github.com/jetify-com/devbox/issues/2761 ) ),
98+ so install the system packages listed in
99+ [ LINUX_SETUP.md] ( LINUX_SETUP.md#build-dependencies ) first — ` just build ` fails
100+ in the compiler without them.
101+
83102### Option B: Manual installation
84103
85104``` bash
0 commit comments