CLI
rp is the command line client for Repsy. One binary works with Repsy Cloud and with a self-hosted Repsy Open Source.
Quick Start
curl -fsSL https://cli.repsy.io/install.sh | sh # Windows: irm https://cli.repsy.io/install.ps1 | iex
rp profile add repsy.io # or the address of your self-hosted server
rp auth login # sign in with your browser
rp repo list # your repositories
rp npm setup --repo <repo-name> # point npm at a repository
The first profile you add becomes the default, so the commands after it need no --hostname. See Profiles and Hosts.
What You Can Do
| Task | Commands |
|---|---|
| Sign in, check who you are | rp auth login, rp auth status |
| Configure a package manager for a repository | rp <format> setup: maven, npm, pypi, docker, cargo, nuget, go, helm, ruby |
| Upload and download packages | rp push, rp download |
| Manage repositories | rp repo list, get, create, delete |
| Browse packages | rp package list, show, tags, delete |
| Vulnerability scans | rp scan trigger, list, show |
| Personal access tokens and deploy tokens | rp token create, list, rotate, revoke |
| Call any panel API route | rp api |
| Let an AI agent use Repsy | rp mcp |
Every command takes --output json (or yaml) and --jq <expression> for scripts, and --help for its options.
In This Section
- Installation: install scripts, packages and manual downloads.
- Authentication: signing in,
REPSY_TOKENfor CI, personal access tokens. - Profiles and Hosts: Repsy Cloud, a self-hosted server, custom domains.
- Configuration: where
rpkeeps its files. - Environment Variables: the variables
rpreads. - Exit Codes: what a failure returns, for scripts.
- MCP Server: Claude Code, Cursor, VS Code and other AI agents.
- Command Reference: every command and flag.
Found a problem with this page?
Report a problem