Install and Connect
Liner requires Node.js 18 or newer. The linersh npm package bundles both the terminal navigator and a native CLI binary for your platform, so normal use needs no Python setup.
Quick try with npx
Section titled “Quick try with npx”npx linershRunning npx linersh opens the live terminal navigator. On first run with an empty library, it offers to connect Claude Code or Codex by installing the liner skill and gives you a starter prompt for your first liner.
Check the installed version at any time:
npx --yes linersh@latest --versionInstall globally and connect your agent
Section titled “Install globally and connect your agent”For everyday use, install linersh globally so the liner command stays on your PATH for both you and your agent.
npm install -g linershThen install the liner skill for your agent so it knows how to find your liners, ask before loading one, and build new ones:
liner agent-skill install claude --yesUse codex for Codex. On Claude Code, this also installs the read-only liner-researcher subagent for reading fetched pages and an approval guard that asks you before approval commands run. Pass --no-subagent or --no-guard to leave either out.
Your agent does the research on the AI subscription you already pay for. Liner itself makes no model calls and collects no telemetry.
Connect an agent over MCP
Section titled “Connect an agent over MCP”If your agent has no shell access, connect it over stdio MCP using the command liner and argument mcp:
liner mcpThe MCP server exposes catalog, search, file reading, citations, gaps, findings, tests, fetch, refresh, and research stepping (start, next, improve, submit). It omits approval, verdict, and apply tools so those decisions stay in your terminal.
Running liner with no arguments opens the navigator. Running liner <command> invokes the bundled CLI. For one-shot CLI use without a global install, replace liner <command> with npx --yes linersh@latest <command>.
Platform support
Section titled “Platform support”Version 1.2.1 supports these native npm platform packages. The main linersh package declares them as optional dependencies, and npm installs the matching OS and CPU package automatically.
| System | npm platform package |
|---|---|
| macOS Apple silicon | linersh-darwin-arm64 |
| macOS Intel | linersh-darwin-x64 |
| Linux arm64 | linersh-linux-arm64 |
| Linux x64 | linersh-linux-x64 |
| Windows x64 | linersh-win32-x64 |
Enable JavaScript rendering (optional)
Section titled “Enable JavaScript rendering (optional)”Liner fetches pages the fastest way first and falls back to headless Chromium only when a page requires JavaScript to render readable content (such as Apple’s Human Interface Guidelines or Notion docs).
Liner never downloads the browser behind your back. During a guided research run, your agent names any sources that need JavaScript rendering and asks before running liner setup-js --yes. You can also set it up ahead of time:
liner setup-jsFor one-shot npx use:
npx --yes linersh@latest setup-jsThe download is about 100 MB and takes about 220 MB on disk. The command is safe to re-run.
Optional maintenance adapter
Section titled “Optional maintenance adapter”The liner skill above covers building, finding, and using liners. If you also want Codex or Claude Code to run structured maintenance commands (moving, renaming, replacing, or purging sources with previewed Change Sets and receipts), see the separate Maintenance adapter guide.
Uninstall
Section titled “Uninstall”liner uninstall removes Liner’s configuration, source cache, shared Playwright browser cache, and npm’s npx execution cache. Saved liners in your library stay in place. Inspect the paths first with --dry-run:
liner uninstall --dry-runRun uninstall interactively (asks for confirmation):
liner uninstallOr via npx:
npx --yes linersh@latest uninstallAdd --yes (-y) to skip the confirmation prompt. If you installed globally, remove the npm package afterward:
npm uninstall -g linersh