Getting started
Installation
Install the native xorox CLI with one command, connect a project with xorox init, and update or remove it. Includes the npm package for existing installs and Windows.
Install
XOROX is a single native command-line tool, xorox. Install it with the command for your system.
macOS and Linux:
curl -fsSL https://xorox.eu/install.sh | shWindows, in PowerShell:
irm https://xorox.eu/install.ps1 | iexEither installs one program. It needs no Node.js, runtime or administrator rights. The installer verifies the download against the release checksums before installing it, and it never asks for your XOROX token — credentials are handled later, by xorox init.
Check that it worked (on Windows, in a new PowerShell window if the command isn't found yet):
xorox --versionSupported platforms
- macOS — Apple Silicon (arm64) and Intel (x86_64)
- Linux — x86_64 and arm64
- Windows — 64-bit, x64 (Windows 10 and 11)
Windows on ARM is not supported yet.
Install location and PATH
macOS and Linux. The installer puts xorox in ~/.local/bin. It doesn't edit your shell profile. If ~/.local/bin isn't on your PATH, the installer says so — add it to your shell profile:
export PATH="$HOME/.local/bin:$PATH"For fish, run fish_add_path ~/.local/bin. Until then you can run ~/.local/bin/xorox by its full path.
Windows. The installer puts xorox.exe in %LOCALAPPDATA%\Programs\xorox and adds that folder to your user PATH. The PowerShell window you ran it from can use xorox immediately. Terminals and editors that were already open — including Cursor and Claude Code — only see the new PATH after you restart them.
Connect a project
Installing XOROX is once per machine. Connecting a project is once per project, from inside it:
cd your-project
xorox initYou need a project credential first — see Authentication. xorox init:
- Asks for the project ID and token (the token is typed hidden) and checks them with XOROX before changing anything.
- Stores the credential in your user-level XOROX configuration, readable only by you — never in the repository — and records which project this directory belongs to. That configuration lives in
~/.config/xoroxon macOS and Linux and in%LOCALAPPDATA%\xoroxon Windows. - Configures the coding agents it detects: Cursor (
.cursor/hooks.jsonand.cursor/mcp.json) and Claude Code (.claude/settings.local.jsonand.mcp.json). Entries from other tools in those files are left alone. - Keeps that configuration local to your machine: files XOROX creates are added to
.git/info/exclude, and Git-tracked config files aren't edited unless you pass--force.
It's safe to run again — to add an agent later, or repair a missing entry. To choose agents explicitly, use xorox init --agent cursor, --agent claude, or --agent all. Run xorox init --help for every option, and xorox status at any time to see which project the current directory resolves to, whether its credential is valid, and which agents are configured.
If a project was set up with an earlier XOROX release that ran on Node.js (0.1.x), running xorox init there replaces those Cursor and Claude Code entries instead of duplicating them, and offers to move the credential from the project's .env into user-level storage (it never edits .env; the old lines can then be deleted).
Then start your agent — see Cursor and Claude Code.
Updating
Run the installer again. It installs the latest stable release over the existing one:
curl -fsSL https://xorox.eu/install.sh | shirm https://xorox.eu/install.ps1 | iexIf anything fails before the new version is verified, your existing installation is left as it was. On Windows this also works while xorox is running. Projects keep working without changes; if xorox status reports that an agent entry points at a different or missing executable (for example after moving the install folder), run xorox init again.
Advanced options
Install a specific version instead of the latest:
curl -fsSL https://xorox.eu/install.sh | XOROX_VERSION=<version> sh$env:XOROX_VERSION = '<version>'; irm https://xorox.eu/install.ps1 | iexInstall into a different directory (an absolute path you own):
curl -fsSL https://xorox.eu/install.sh | XOROX_INSTALL_DIR=<path> sh$env:XOROX_INSTALL_DIR = '<path>'; irm https://xorox.eu/install.ps1 | iexOn Windows, set XOROX_NO_MODIFY_PATH=1 to leave PATH alone. On macOS and Linux, sh -s -- --help after the pipe prints the options.
Uninstalling
There's no automated uninstall command yet. To remove XOROX:
- Delete the program:
~/.local/bin/xoroxon macOS and Linux (or your custom install directory). On Windows, delete the%LOCALAPPDATA%\Programs\xoroxfolder and remove it from your user PATH (Settings → System → About → Advanced system settings → Environment Variables). - In each connected project, remove the
xoroxentry from.cursor/mcp.jsonand.mcp.json, the XOROX hook entries from.cursor/hooks.jsonand.claude/settings.local.json, and the project's.xorox/directory. - To forget stored credentials, delete the user-level XOROX configuration folder named above.