Docs
Set up with your agent
Your coding agent can install Slashcode for you. Give it the setup instructions: it installs the daemon, checks that it runs, tells you which harnesses it found, and stops at pairing, the one step that needs you.
Copy the instructions
The home page and Install and pair both have a button that copies the setup instructions: a short Markdown document written for an agent, with every command it may run and every answer it should expect.
If your browser blocks copying, the button opens the same text at https://slashcode.dev/install.md, where it is always current.
Hand them to your agent
Start your agent on the computer you want to set up, Mac or Linux, in a terminal where it has a shell: Claude Code, Codex, or any agent that can run commands. Paste the instructions as your message.
An agent that can fetch web pages can also read them on its own. Tell it:
Set up Slashcode on this computer by following https://slashcode.dev/install.md
It asks you before anything that needs your say, and tells you when a step fails rather than guessing.
What it does
- Runs the one-line installer, which puts
slashcodein~/.local/binand, on macOS, starts the daemon now and at every login. - If
~/.local/binis not on your PATH, shows you the line the installer suggests and asks before adding it to your shell profile. - Checks the daemon with
slashcode --versionandslashcode service status, fixes a service that is not installed or not loaded, and reads the end of the log to you when the daemon does not run. On Linux, where there is no service, it tells you to keepslashcode daemonrunning. - Lists your harnesses with
slashcode agentsand tells you which are available. If none is, it asks which one you want rather than picking one for you. - Runs
slashcode pairand shows you the 8-character code. - Sums up: the version installed, whether the daemon runs, the harnesses found, and any device paired.
What it won't do
- Use
sudo: everything installs under your home folder. - Edit a shell profile without telling you what it adds and getting a yes.
- Invent flags or commands: when it needs one that is not in the instructions, it reads
slashcode --helpfirst. - Run the installer or
slashcode service installa second time without saying so: both restart the daemon, which stops the sessions it is running. - Pair for you: it never types the code anywhere and never opens a pairing link.
- Let in a device waiting for approval before you confirm it is yours; only then does it run
slashcode devices approve.
Finish the pairing
$ slashcode pairScan this with your phone's camera, or type the code in the Slashcode app:K7QX-2M4PIt expires in 15 minutes and works once. Waiting…
Type the code your agent shows you in the Slashcode app, or in the web app at /app, within 15 minutes. The command then prints Paired and your device's name.
A QR code rarely survives being passed along by an agent. To scan one, run slashcode pair in a terminal of your own. Next: using Slashcode.