Install the daemon
Neku runs as a small daemon on each machine your agents work on. It holds tool calls that need a decision and streams session state to your devices.
macOS
The installer puts neku in ~/.local/bin, adds that to your shell rc if it is not on PATH, registers a launchd user agent that starts the daemon, and wires Claude Code's hooks if Claude Code is present. State lives in ~/Library/Application Support/neku, config in ~/.config/neku. No root, no kernel extension, no new inbound port — the daemon listens on loopback and your devices reach it over your existing SSH.
Linux
The installer puts neku in ~/.local/bin, adds that to your shell rc if it is not on PATH, enables a systemd user service that starts the daemon, and wires Claude Code's hooks if Claude Code is present. Without systemd (some containers), neku pair starts the daemon on demand. State lives in ~/.local/state/neku, config in ~/.config/neku. No root, no kernel module, no new inbound port — the daemon listens on loopback and your devices reach it over your existing SSH.
Windows (WSL2)
Neku runs inside your WSL2 Linux distribution — open your Ubuntu shell first, then run the same steps as Linux.
tmux and the multiplexer layer need a real Linux userspace, so Neku is WSL2-only on Windows — not the native shell.
Requirements
- macOS, Linux, or Windows via WSL2
- arm64 or x86_64
- SSH access to the host from your devices
curlandtarfor the installer, plus OpenSSL 1.1.1+ orbcto verify the release signature (a stock Mac hasbc; nothing to install)- A gated agent for live sessions and approvals: Claude Code, Grok, GitHub Copilot CLI, Codex, Gemini CLI or OpenCode (optional; hooks install later with
neku install) - No root and no kernel extension
loopback only · reached over your SSH · no new inbound port
Then pair a device
Pairing pins the device's public keys on the host. The private keys never leave the device, and the cloud holds no key it could pin.
Run neku pair
On the host. If the daemon is not running it starts it, then shows a one-time code as a QR, a link and text, valid for two minutes. A host that is not signed in to Neku yet is signed in by the same code, after it asks you which account. neku pair --code prints only the code, for scripts.
pairing code: XXXX-XXXX-XXXX-XXXX-XXXX · valid for 120s
Enter it on the device
In Neku on your phone or Mac, or at app.neku.sh, signed in to your account: scan the QR, paste the link or type the code. From a laptop with SSH, neku web-tunnel <host> --open opens the host's own web UI and takes the same code. neku devices on the host shows each device's key fingerprint — four hex groups, a1b2-c3d4-e5f6-7890 style.
device key pinned · neku devices · neku unpair
Start an agent
The host shows up in your inbox. With the blocking gate installed (neku install --gate), the next held tool call reaches you with a countdown — 30 minutes by default, and it denies at zero.
NEEDS YOU auto-deny 0:42
Agents are detected automatically
Gated agents run through a hook or plugin they wait on, so Neku can hold each tool call for you. Each was measured, not taken from its docs.
claude-code
gated
Hooks written by the installer when Claude Code is present, or later with neku install. Live sessions, spans, held tool calls and approvals.
grok
gated
Grok runs Claude Code's hooks, so the same neku install covers it. Live sessions, subagents as spans, held tool calls and approvals.
copilot
gated · GitHub Copilot CLI
neku install writes Copilot's own hooks file when Copilot is on the host. Live sessions, held tool calls and approvals.
codex
gated · Codex CLI
neku install merges Neku's entries into Codex's hooks.json. Codex runs them once you trust them in its own /hooks review; neku install --check says until then. Live sessions, spans, held tool calls and approvals. Keystrokes Codex types into a running interactive command are not gated.
gemini
gated · Gemini CLI
neku install merges Neku's hooks into Gemini's settings.json. Live sessions, held tool calls and approvals; a subagent's calls show as the session's own.
opencode
gated · via a plugin
OpenCode has no command hooks, so neku install writes a small plugin of Neku's own. Live sessions, spans, held tool calls and approvals.
cursor, amp
not supported yet
Both need their own accounts to measure, so Neku does not claim them. They still run in the terminal.
neku install reports which agents it wired for the version you have.
CLI reference →
Read it, run it, or remove it
The installer is a short POSIX shell script. Read it first if you like; leaving is one command too.
Verify the download
Every release is Ed25519-signed. The installer verifies before it runs anything; you can do the same by hand, or read the script first.
latest.jsonnames the version and the SHA-256 of every platform's tarball;latest.json.sigis the signature over it.release-key.pubis the release public key, the one pinned insideinstall.shand built into thenekubinary. All of these come from the same server, so they agreeing proves nothing about it: compare the key with the fingerprint on the security page, which is served from elsewhere.- Tarball digests are checked against the verified manifest, never against a value fetched on its own. A mismatch is refused; there is no skip.
The PEM for openssl is the raw key prefixed by the fixed Ed25519 SPKI header MCowBQYDK2VwAyEA, exactly as install.sh derives it (OpenSSL 1.1.1+; the LibreSSL in a stock Mac's /usr/bin cannot do Ed25519, so there install.sh verifies with the RFC 8032 check written in bc inside the script itself). Once installed, neku update repeats the same verification against the built-in key. Knobs, all optional: NEKU_VERSION pins a version, NEKU_BINDIR changes the install directory, NEKU_BASE points at a mirror (still verified against the pinned key).
To remove everything the installer put there — service, hooks, device tunnel keys, state, config, the PATH line and the binary:
Plain neku uninstall only stops the daemon and takes Neku's entries out of Claude Code's settings, leaving your own edits in place.
Get the app
Every surface pairs the same way and signs decisions with its own key. The free tier needs no account; Pro adds push to up to five devices.
- Web app — app.neku.sh · pair in the browser, works on a phone
- The daemon's own UI over SSH ·
neku web-tunnel <host> --open - iPhone and iPad · [APP STORE STATUS]
- Mac · [MAC APP STORE STATUS]
- Android · coming soon · the web app works in the browser today
One command to install, one to pair.
The free tier needs no account and no card. Everything local works before you ever sign in.
runs on your machines · end-to-end encrypted · timeouts deny