From c6edbe1dc25d230fc5baa1ba019dac407b96e622 Mon Sep 17 00:00:00 2001 From: Steve Dakh Date: Mon, 20 Apr 2026 19:19:09 +0300 Subject: [PATCH] README: document headless/server install path --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 671fe699b..816f20e6c 100644 --- a/README.md +++ b/README.md @@ -356,6 +356,23 @@ cp -r .claude ~/ && cd ~/.claude && bash install.sh **After installation:** Run `source ~/.zshrc && pai` to launch PAI. +### Headless / Server Install (no GUI) + +The default `install.sh` launches an Electron GUI, which fails on headless +Linux servers with errors like `libnss3.so: cannot open shared object file`. +The installer ships a terminal wizard for exactly this case — skip +`install.sh` and invoke the CLI mode directly: + +```bash +# Clone and stage the release as usual +git clone https://github.com/danielmiessler/Personal_AI_Infrastructure.git +cd Personal_AI_Infrastructure/Releases/v4.0.3 +cp -r .claude ~/ + +# Run the terminal wizard instead of the Electron GUI +cd ~/.claude && bun run PAI-Install/main.ts --mode cli +``` + ### Upgrading from a Previous Version ```bash