Skip to main content

Getting Started with PRPM

First Time Setup

  1. Install the CLI:
  2. Verify installation:
  3. Create an account and login:
  4. Browse available packages:

Discovering and Installing Packages

Finding the Right Package

Search by keyword:
Browse trending packages:
View package details:
Check collections:

Installing Packages

Install a single package:
Install multiple packages at once:
Install an entire collection:
Install and convert to a specific format:

Verifying Installation

List installed packages:
List packages for a specific format:
Check package details:

Managing Existing Projects

Indexing Local Prompt Files

If you have existing prompt files in your project, register them with PRPM:
This will scan these directories:
  • .cursor/rules/, .cursor/agents/, .cursor/commands/
  • .claude/agents/, .claude/skills/, .claude/commands/
  • .continue/rules/
  • .windsurf/rules/
  • .prompts/
  • .mcp/

Keeping Packages Up to Date

Check for outdated packages:
Update a specific package:
Update all packages:
Preview updates without applying:
Interactive updates (choose which to update):

Cleaning Up Packages

Remove a package:
Remove multiple packages:
Remove without confirmation:

Creating and Publishing Packages

Creating Your First Package

  1. Initialize a new package:
  2. Follow the interactive prompts:
    • Package name: my-username/@username/my-cursor-rules
    • Description: Describe what your package does
    • Format: cursor
    • Subtype: rule
    • Author: Your name
    • License: MIT (or your choice)
    • Tags: typescript, react, best-practices
  3. Edit the generated files:
  4. Test locally:

Publishing Your Package

  1. Ensure you’re logged in:
  2. Validate your package:
  3. Test publish (dry run):
  4. Publish to registry:
  5. Verify publication:

Updating Your Published Package

  1. Update version in prpm.json:
  2. Publish the update:
  3. Publish a beta version:

Working Across Multiple Projects

Setting Up a Standardized Environment

Create a script to install your standard packages across projects:
Make it executable and run:

Sharing Configurations Across Teams

  1. Create a collection for your team:
    • Contact PRPM support or create via registry API
    • Add your team’s standard packages
  2. Team members can install everything at once:

Cross-Project Packages

PRPM currently installs packages into the current project directory. To use packages across projects:

Advanced Workflows

Using PRPM in CI/CD

Install packages in CI:
Verify packages are up to date:

Scripting with PRPM

Check if a package is installed:
Batch operations:

Custom Registry

Use a private registry:
Switch between registries:

Troubleshooting Common Issues

Package Not Found

Installation Fails

Authentication Issues

Updates Not Working

Lock File Conflicts


Best Practices

For Package Users

  1. Always check package info before installing:
  2. Keep packages updated:
  3. Convert to your preferred format:
  4. Document your dependencies:

For Package Authors

  1. Follow semantic versioning:
    • Patch: Bug fixes (1.0.1)
    • Minor: New features (1.1.0)
    • Major: Breaking changes (2.0.0)
  2. Write comprehensive READMEs:
    • What the package does
    • Installation instructions
    • Usage examples
    • Configuration options
  3. Use descriptive tags:
  4. Test before publishing:
  5. Keep packages focused:
    • One clear purpose per package
    • Split large packages into smaller ones
    • Use collections to group related packages

Getting Help