
Steroid_Kit
Steroid CLI›Installation
Installation
The Steroid CLI is a single self-contained binary, about 44–71 MB depending on platform. A one-line installer downloads it from GitHub Releases into your home directory and puts it on your PATH. No administrator rights and no package manager are needed.
NOTE
Steroid only collects usage counts, never your code, files or conversations. Turn it off for good with steroid telemetry disable. What we collect →
Supported Platforms
| Platform | Status |
|---|---|
| macOS, Apple Silicon (arm64) | Supported (M1 or later). A Rosetta shell on Apple Silicon is detected and still gets the arm64 build. |
| Linux x86_64 | Supported |
| Linux arm64 | Supported |
| Windows x86_64 | Supported (PowerShell 5.1 or later) |
| macOS, Intel (x86_64) | Not supported. The installer stops with Steroid supports Apple Silicon Macs (M1 or later) only — Intel Macs aren't supported. |
The macOS and Linux installer needs curl and either sha256sum or shasum. On Linux, background sync runs as a systemctl --user service.
macOS & Linux
Install
curl -fsSL https://raw.githubusercontent.com/steroidkit/releases/main/install.sh | shThe installer:
- Detects your OS and architecture, and stops on a platform Steroid doesn't support.
- Looks up the latest release on github.com. If that version is already installed it stops with already installed — nothing to do; if an older one is, it updates, asking first when run interactively.
- Downloads the release's SHA-256 checksum file, then the binary, and checks one against the other. The checksum is mandatory: if it is missing or doesn't match, the install aborts. There is no signature check.
- If your platform's build of the newest release isn't uploaded yet, installs the release before it instead (never more than one version back). With automatic updates on (the default), Steroid moves to the newest version once its build is out.
- Installs the binary to
~/.steroid/versions/<version>/steroid, keeping the last 2 versions, points~/.steroid/bin/steroidat it, and adds a small launcher at~/.local/bin/steroid. - If
~/.local/binisn't already on your PATH, adds one line to~/.zshrc(zsh), or to~/.bash_profileif it exists and~/.bashrcotherwise. For fish it writes nothing and prints the command to run instead. - Runs
steroid install-onboard-skill, which adds thesteroid-onboardskill to each coding agent it finds (Claude Code, Cursor, Codex, GitHub Copilot CLI, OpenCode). - If background sync is already set up (an upgrade), restarts it on the new version.
A fresh install doesn't start background sync, open the setup screens or connect any coding agent to Steroid's recall tools (it only adds the steroid-onboard skill). That happens when you run steroid or steroid setup <agent> (see Next Steps). No Steroid account is needed.
Reinstall the same version
curl -fsSL https://raw.githubusercontent.com/steroidkit/releases/main/install.sh | FORCE=1 shThe flag form works too: curl -fsSL https://raw.githubusercontent.com/steroidkit/releases/main/install.sh | sh -s -- --force.
Windows
Install (PowerShell)
irm https://raw.githubusercontent.com/steroidkit/releases/main/install.ps1 | iex- Installs
%USERPROFILE%\.steroid\versions\<version>\steroid.exe, keeping the last 2 versions, plus a copy at%USERPROFILE%\.steroid\bin\steroid.exe, with the same mandatory SHA-256 check, previous-release fallback and version guard. - Adds a launcher,
%USERPROFILE%\.local\bin\steroid.bat, and puts that folder at the front of your user PATH — no admin prompt. - Runs
steroid install-onboard-skillto add thesteroid-onboardskill to detected coding agents. - Open a new terminal afterwards so the PATH change takes effect.
Reinstall the same version
$env:FORCE=1; irm https://raw.githubusercontent.com/steroidkit/releases/main/install.ps1 | iexIf you run a saved copy of install.ps1, its -Force switch does the same.
Verify the Installation
In a new terminal
steroid --version # steroid 0.4.1
command -v steroid # ~/.local/bin/steroid (Windows: Get-Command steroid)
steroid doctor # one line per check: ✓ pass ✗ fail ⚠ warn · infoNOTE
Right after installing, the daemon row of steroid doctor reads not registered — run `steroid daemon start`. That's expected: finishing the setup screens or running steroid setup <agent> starts background sync, and the row then reads ✓ daemon running. You can also check with steroid daemon status.
“steroid: command not found”
Open a new terminal first — the PATH change only applies to new shells. The installer chooses the profile file from your login shell ($SHELL), so if you use a different shell, add the line yourself:
| Shell | Fix |
|---|---|
| zsh | Add export PATH="$HOME/.local/bin:$PATH" to ~/.zshrc |
| bash | Add the same line to ~/.bash_profile if you have one, otherwise ~/.bashrc |
| fish | set -U fish_user_paths ~/.local/bin $fish_user_paths |
| PowerShell | Add %USERPROFILE%\.local\bin to your user PATH, then open a new terminal |
You can always run the binary directly: ~/.steroid/bin/steroid, or %USERPROFILE%\.steroid\bin\steroid.exe on Windows.
What Installation Adds to Your System
Everything below lives under your own user account, with no admin rights and no sudo prompt anywhere in the installer or the client. This section is deliberately granular — file names, timings, the service type on each OS — because that's what people ask before they run an installer on a work machine.
File Layout
The installer by itself creates only bin/ and versions/ (plus the launcher and PATH line outside this folder, and the steroid-onboard skill). Everything else appears the first time you run steroid, run steroid setup, or an agent starts Steroid's MCP server.
~/.steroid/
~/.steroid/
├── bin/
│ ├── steroid # the CLI you run (steroid.exe on Windows)
│ └── .version # installed version
├── versions/ # installed versions, the last 2 kept
├── config.json # your settings
├── projects.json # projects registered for recall
├── memory/ # recall indexes and your forget list (owner-only)
├── update_state.json # update checks and notices
├── telemetry/ # usage counts not sent yet
├── logs/ # background sync logs
└── workspace/ # scratch folder Steroid works in
~/.local/bin/steroid # launcher on PATH (steroid.bat on Windows)A few small *.lock files also appear next to config.json, update_state.json and the telemetry files, used to coordinate the CLI and the background service so two processes never write the same file at once. Only memory/ and the lock files are owner-only (0700/0600 on macOS and Linux; on Windows, protection comes from your user-profile permissions, not a file mode). Everything else in ~/.steroid/ — config.json, projects.json, logs/, telemetry/ — uses your normal file permissions.
Launcher, Binary & PATH
| macOS / Linux | Windows | |
|---|---|---|
| Launcher on PATH | ~/.local/bin/steroid — a 2-line script that runs the real binary | %USERPROFILE%\.local\bin\steroid.bat — same idea |
| Real binary | ~/.steroid/bin/steroid is a symlink to ~/.steroid/versions/<version>/steroid | ~/.steroid/bin/steroid.exe is a plain copy of versions\<version>\steroid.exe (no symlink without admin) |
| Who points at the binary | Every agent's MCP entry and the background service point straight at ~/.steroid/bin/steroid — never at the launcher | same, at steroid.exe |
| PATH edit | One line appended to one profile: ~/.zshrc for zsh; otherwise ~/.bash_profile if it exists, else ~/.bashrc (created if missing). fish: nothing written, a hint is printed instead. | No profile file. %USERPROFILE%\.local\bin is prepended to your user |
What Setting Up an Agent Writes
Setup writes one MCP entry per agent, always named steroid. If an entry with that exact name already exists it is replaced; any other server entries in the same file are kept. Cursor and OpenCode are the agents whose files Steroid edits directly; the other three are written by that agent's own CLI.
| Agent | MCP entry written by | Instructions | Skills folder |
|---|---|---|---|
| Cursor | Steroid itself — reads ~/.cursor/mcp.json, sets the steroid key, rewrites the file. A malformed file is first renamed aside, with the timestamp in the name, before a new one is written. | A whole Steroid-owned rule file in ~/.cursor/rules/ | ~/.cursor/skills/ |
| Claude Code | The claude CLI (claude mcp add); if that fails because the name exists, Steroid removes it once and adds it again | Marked block in ~/.claude/CLAUDE.md | ~/.claude/skills/ |
| Codex | The codex CLI (codex mcp add), same remove-and-retry | Marked block in ~/.codex/AGENTS.md (or $CODEX_HOME) | ~/.codex/skills/ |
| GitHub Copilot CLI | The copilot CLI (copilot mcp add), same remove-and-retry | None — the Copilot CLI doesn't read a global instructions file | ~/.copilot/skills/ |
| OpenCode | Steroid itself — adds the steroid entry under mcp.servers in ~/.config/opencode/opencode.json (or opencode.jsonc if that exists). A file with comments, or a malformed one, is first backed up to <name>.bak.<timestamp>. | Marked block in ~/.config/opencode/AGENTS.md | ~/.config/opencode/skills/ |
Every skill folder gets a small version stamp alongside SKILL.md, so a later update or uninstall touches only folders Steroid created.
Background Service
Nothing registers this service by itself: your first run of steroid (even before you pick any agents), a successful steroid setup <agent>, or steroid daemon start does. It's a per-user service, never a system-wide one — nothing in it asks for admin rights.
| macOS | Linux | Windows | |
|---|---|---|---|
| Service type | A per-user LaunchAgent | A systemd user unit (needs systemd --user; no fallback) | A Scheduled Task |
| Lives under | ~/Library/LaunchAgents/ | ~/.config/systemd/user/ | the Task Scheduler store, plus a copy of its definition in ~/.steroid/logs/ |
| Runs as | ~/.steroid/bin/steroid, working directory ~/.steroid/workspace | same | steroid.exe, same working directory |
| Logs | ~/.steroid/logs/ (its own stdout/stderr files, plus an app log) | same | just the app log — no separate stdout/stderr files |
On Linux, the service runs while you have a login session; if you want it to keep running fully logged out, that needs loginctl enable-linger, which Steroid does not set for you.
Once running, it keeps two things ticking:
- Every ~5 minutes: it refreshes any already-registered project's index for each connected agent, rebuilding only the parts that changed; redacts anything left over from an older Steroid version; sends any queued, batched usage counts; and deletes Steroid's own short scratch conversations it created for recall answers and the setup health check — never your own conversations.
- Roughly once a day (first check a few minutes after the service starts, then about every 24 hours): checks for a new release. It always checks, even with automatic installs off; it only installs when automatic installs are on and the release is at least an hour old. A failing restart after an update does not stop the service.
Outside Your Home Folder
Everything Steroid writes lives in your home folder, except:
- Every run of
steroid (the CLI, the terminal app, each agent's MCP server, the background service) unpacks itself into your system's temp folder for the length of that run, and cleans up after itself on exit. An update also downloads to a temp folder first. - On Windows only, two things are kept by the operating system rather than in a file under your home folder: the PATH change lives in your user registry hive, and the Scheduled Task is stored by Task Scheduler.
- Installing a coding agent's own CLI (offered by the
steroid-onboard skill, never by the installer itself) runs that agent's own install method, which is outside Steroid's control.
Next Steps
- Run
steroid. The setup screens ask which coding agents to set up (Cursor, Claude Code, Codex, GitHub Copilot CLI, OpenCode), wire each one, then open Home. No Steroid account is needed. - Or set up one agent from the terminal:
steroid setup claude-code,codex,cursor,copilotoropencode.cursorcovers both the Cursor app and the Cursor CLI, and needs the Cursor CLI installed. - Or, from inside your coding agent, run the
steroid-onboardskill the installer added:/steroid-onboardin Claude Code and Cursor,$steroid-onboardin Codex, or ask for it in plain words in GitHub Copilot CLI or OpenCode. - Restart your coding agent so it loads Steroid's recall tools.
- Ask about past work. The first question in a project indexes its history automatically; there is nothing to run first.
Recall answers are written by the coding agent you already use, through its own model provider.
To update or remove Steroid, see Updating & Uninstalling.