Install
Requirements
Section titled “Requirements”- Node.js 20 or newer.
Local mode needs nothing else — no database, no server.
Install the package
Section titled “Install the package”npm install -g @sporhq/sporThis installs two commands:
spor— the CLI you use directlyspor-hook— the hook dispatcher that agent hosts call; you rarely run it yourself except forspor-hook doctor
Check the install:
spor --helpWire your coding agent
Section titled “Wire your coding agent”spor install connects Spor to an agent host so sessions get briefed
automatically. Supported hosts: claude, codex, gemini, cursor,
copilot, opencode.
spor install claudeWith no host named, it lists what it detects on your machine and changes nothing:
spor install # detect onlyspor install --all # install into every detected hostspor install --print # dry run: show what would changeClaude Code is wired through its plugin CLI; the other hosts receive a merged
hooks manifest. Re-running spor install is safe — it refreshes paths and
does not duplicate hooks.
The default scope is --scope user, which installs Spor for you across
repositories. --scope repo writes configuration into the current checkout
so it can be committed and shared.
Upgrading
Section titled “Upgrading”A new npm release does not change what an agent has already loaded — some hosts cache the plugin or hook definitions. Upgrade in two steps:
npm install -g @sporhq/spor # update the packagespor upgrade # refresh every wired host to the new versionspor upgrade claude targets one host, and --print previews the changes
without writing. spor status warns when a loaded plugin is older than the
installed package.
Per-repo opt-in
Section titled “Per-repo opt-in”Installing Spor does not activate it in every repository you open. A repo is
inactive until it carries a .spor or .spor.json marker, which keeps
side-project context out of a team graph by accident.
spor enable # write {"enabled": true} to this repo's .spor.jsonspor disable # write {"enabled": false}; hooks no-op here until re-enabledspor link harbor # write a .spor marker fixing this repo's project slugAll three write committable files, so the setting travels with the
repository. spor link matters when the slug Spor infers from the directory
name is wrong — the slug is how nodes, queues, and briefings are scoped to a
project.
Next: the local quickstart or the hosted quickstart.