Linspace Help
Linux or macOS with Bash and curl. Run as your own account, without sudo.
Claude Code
# Install and configure (rerun to update)curl -fsSL https://linspace.xyz/claude/install | bash && install -d -m 700 ~/.claudecurl -fsSL https://linspace.xyz/claude/config -o ~/.claude/settings.json && chmod 600 ~/.claude/settings.jsonexport PATH="$HOME/.local/bin:$PATH" # add to ~/.bashrc or ~/.zshrc# Relay credentials (skip for account sign-in)export ANTHROPIC_BASE_URL='https://relay.example' && \ export ANTHROPIC_AUTH_TOKEN='YOUR_CLAUDE_TOKEN'# Start in your project directorycd /path/to/project && claude
Codex
# Install and configure (rerun to update)curl -fsSL https://linspace.xyz/codex/install | bash && install -d -m 700 ~/.codexcurl -fsSL https://linspace.xyz/codex/config -o ~/.codex/config.tomlcurl -fsSL https://linspace.xyz/codex/models_1m -o ~/.codex/models-1m.jsonchmod 600 ~/.codex/config.toml ~/.codex/models-1m.jsonexport PATH="$HOME/.local/bin:$PATH"# Relay credentials: prompts for base_url, then reads the token hiddencurl -fsSL https://linspace.xyz/codex/auth | bash# Or pass both explicitly (visible in shell history and the process list):# curl -fsSL https://linspace.xyz/codex/auth | bash \# -s -- -t 'YOUR_CODEX_TOKEN' -u 'https://relay.example/v1'# Start in your project directorycd /path/to/project && codex
Uninstall
# Removes installations, settings, credentials, caches and installed plugins.# Keeps conversation history and your own files: Claude Code projects/, CLAUDE.md,# commands/, agents/, skills/, plans/, hooks/, rules/; Codex sessions/, AGENTS.md,# prompts/, skills/, memories/, rules/, hooks/curl -fsSL https://linspace.xyz/claude/uninstall | bashcurl -fsSL https://linspace.xyz/codex/uninstall | bash