Package Discovery Commands
search
Search for packages in the PRPM registry.query- Search term to find packages
--format <format>- Filter by format (cursor, claude, windsurf, continue, etc.)--subtype <subtype>- Filter by subtype (rule, agent, skill, slash-command, etc.)--limit <number>- Maximum number of results to return (default: 20)--no-interactive- Disable interactive pagination (useful for automation and scripting)
--no-interactive when you want to search and install packages programmatically in scripts or CI/CD environments.
Examples:
info
Display detailed information about a specific package.package-name- Full package name (e.g.,@username/typescript-rules)
--json- Output in JSON format--version <version>- Show info for a specific version
trending
View trending packages from the registry.--format <format>- Filter by format--subtype <subtype>- Filter by subtype--limit <number>- Number of packages to display (default: 10)--period <period>- Time period (day, week, month) (default: week)
popular
View all-time popular packages from the registry.--format <format>- Filter by format--subtype <subtype>- Filter by subtype
popular shows all-time most downloaded packages, while trending shows packages gaining traction in a specific time period.
Examples:
collections
Browse and view curated collections of packages.--list- List all available collections--install- Install all packages in a collection
Package Management Commands
install
Install one or more packages from the registry.package-name- Package to install (supports multiple packages)
--version <version>- Install a specific version--as <format>- Convert and install in specific format (cursor, claude, continue, windsurf, copilot, kiro, agents.md, canonical)--format <format>- Alias for--as--subtype <subtype>- Specify subtype when converting (skill, agent, rule, etc.)--frozen-lockfile- Fail if lock file needs to be updated (for CI)
- Package is downloaded from the registry
- Files are extracted to the appropriate directory (
.cursor/,.claude/, etc.) - Package is registered in
prpm.lock - Format-specific configuration is applied (MDC headers for Cursor, etc.)
uninstall
Remove installed packages from your project.package-id- ID of the package to uninstall
--force- Skip confirmation prompts--keep-files- Remove from lock file but keep the files
list
List all installed packages in the current project.--format <format>- Filter by format--subtype <subtype>- Filter by subtype--json- Output in JSON format--verbose- Show additional details (file paths, versions)
outdated
Check for packages that have newer versions available.--json- Output in JSON format
update
Update specific packages to their latest versions.package-name- Package(s) to update
--version <version>- Update to a specific version--force- Force update even if at latest version
upgrade
Upgrade all installed packages to their latest versions.--dry-run- Show what would be upgraded without making changes--interactive- Prompt for confirmation for each package--skip-breaking- Skip packages with breaking changes (major version bumps)
Package Creation Commands
init
Initialize a new PRPM package in the current directory.--yes- Use default values, skip prompts--private- Create a private package--force- Overwrite existingprpm.jsonif present
- Package name
- Version
- Description
- Format (cursor, claude, windsurf, etc.)
- Subtype (rule, agent, skill, etc.)
- Author name
- License
- Repository URL
- Tags
- Files to include
prpm.json- Package manifestREADME.md- Package documentation template- Format-specific example files based on your selection
catalog
Discover and catalog existing packages from your directories. Scans specified directories for prompt files (Cursor rules, Claude skills, etc.) and creates or updates aprpm.json manifest that you can use to publish them.
directories- Directories to scan (default: current directory)
-o, --output <path>- Output path for prpm.json (default: ./prpm.json)-a, --append- Append to existing prpm.json instead of overwriting--dry-run- Show what would be cataloged without making changes
- Scans directories for prompt files (
.md,.mdc,SKILL.md, etc.) - Detects format (cursor, claude, windsurf, etc.) and subtype (rule, skill, agent)
- Extracts package metadata from file content
- Filters out packages installed from registry (only catalogs user-created content)
- Creates/updates
prpm.jsonwith discovered packages
prpm publish.
publish
Publish your package to the PRPM registry.--dry-run- Test publishing without actually uploading--tag <tag>- Publish with a specific tag (e.g.,beta,next)--access <public|private>- Set package access level--force- Skip validation warnings
- Must be logged in (
prpm login) - Must have a valid
prpm.jsonin current directory - Package version must not already exist in registry
- Package is validated against schema
- Files are packaged into a tarball
- Package metadata is uploaded to registry
- Tarball is uploaded to storage
- Package becomes available for installation
Playground Commands
playground
Test packages with real AI models before installing.package- Package identifier (e.g.,@user/package-name)input- Test input text (optional if using--interactive)
-m, --model <model>- AI model to use (sonnet, opus, gpt-4o, gpt-4o-mini) (default: sonnet)-c, --compare- Compare with and without package prompt (baseline test)-i, --interactive- Start interactive multi-turn conversation mode
sonnet(Claude Sonnet 3.5) - Balanced performance, 2 credits (default)gpt-4o-mini- Fast and economical, 1 creditgpt-4o- Advanced reasoning, 3 creditsgpt-4-turbo- Complex tasks, 4 creditsopus(Claude Opus) - Most capable, 7 credits
- 1 credit = 5,000 tokens (input + output combined)
- Free tier: 5 trial credits
- PRPM+: 100 monthly credits ($6/month)
- Credit packs: Buy additional credits that never expire
subscribe
Manage your PRPM+ subscription.- (no command) - Subscribe to PRPM+
status- View subscription status and credit balancecancel- Cancel your PRPM+ subscription
- 100 monthly playground credits
- Credits roll over (max 200 balance)
- 3/month for organization members)
- Priority support
buy-credits
Purchase additional playground credits.- 100 credits = $5.00
- Credits never expire
- Stack with monthly PRPM+ credits
suggested-inputs
Manage suggested test inputs for your packages (authors only).add <package> <input>- Add a suggested test inputlist <package>- List all suggested inputs for a packageremove <package> <id>- Remove a suggested input
Local File Management Commands
index
Scan your project directories for existing prompt files and register them in PRPM.--verbose- Show detailed output for each file
.cursor/rules/- Cursor rules.cursor/agents/- Cursor agents.cursor/commands/- Cursor slash commands.claude/agents/- Claude agents.claude/skills/- Claude skills.claude/commands/- Claude slash commands.continue/rules/- Continue rules.windsurf/rules/- Windsurf rules.prompts/- Generic prompts.mcp/- MCP servers
prpm.lock.
User Management Commands
login
Authenticate with the PRPM registry.--token <token>- Use an existing authentication token--registry <url>- Specify a custom registry URL
- Opens browser for authentication (or uses provided token)
- Saves authentication token to
~/.prpmrc - Token is used for future authenticated requests
whoami
Display information about the currently authenticated user.--json- Output in JSON format
Configuration Commands
config
View or modify CLI configuration.list(orls) - List all configuration valuesget <key>- Get a configuration valueset <key> <value>- Set a configuration valuedelete <key>(orrm) - Reset a configuration value to default
registryUrl- Registry URLtelemetryEnabled- Telemetry enabled (true/false)token- Authentication token (set viaprpm login)username- Username (set viaprpm login)
registryUrl- Change the registry URLtelemetryEnabled- Enable or disable telemetry
token and username are managed via prpm login and cannot be set directly.
Examples:
telemetryEnabled, you can use:
true,1,yes- Enable telemetryfalse,0,no- Disable telemetry
telemetry
Manage anonymous usage telemetry.enable- Enable telemetrydisable- Disable telemetrystatus- Show current telemetry status
- Command usage (anonymized)
- Error messages (anonymized)
- Installation success/failure rates
- Package popularity
- Personal information
- File contents
- Project details
- Authentication tokens
schema
View or validate package schemas.--validate <file>- Validate a package manifest against schema--format <format>- Show schema for a specific format--output <file>- Write schema to file
Exit Codes
The PRPM CLI uses standard exit codes:0- Success1- General error2- Invalid arguments or usage3- Network error4- Authentication error5- Package not found6- Validation error
Environment Variables
PRPM respects these environment variables:PRPM_REGISTRY_URL- Override default registry URLPRPM_TOKEN- Authentication tokenPRPM_TELEMETRY- Enable/disable telemetry (true/false)PRPM_CONFIG_PATH- Custom config file locationNO_COLOR- Disable colored output