Skip to main content

Installation

Install the PRPM CLI globally using npm:
npm install -g prpm
Verify the installation:
prpm --version
You can also use npx prpm to run commands without installing globally.

Install Your First Package

Search for packages:
prpm search typescript
Install a package (replace with actual package name from search results):
prpm install @username/typescript-best-practices
Packages are namespaced by author. The format is @username/typescript-rules.
List installed packages:
prpm list

Discover More Packages

View trending packages:
prpm trending
Browse collections (curated package bundles):
prpm collections --list
Install an entire collection:
prpm collections web-development --install
Collections bundle multiple related packages together for easier setup of common stacks and workflows.

Publishing Your First Package

1. Initialize a Package

Use the interactive init command to scaffold a new package:
prpm init
This will prompt you for:
  • Package name (format: @username/typescript-rules)
  • Description
  • Format (cursor, claude, windsurf, etc.)
  • Subtype (rule, agent, skill, etc.)
  • Author information
  • License
  • Tags
It creates:
  • prpm.json - Package manifest
  • README.md - Documentation template
  • Example files based on your selected format

2. Add Your Content

Edit the generated files with your rules, prompts, or skills:
# For Cursor rules
vim .cursorrules

# For Claude skills
vim .claude/skills/my-skill/SKILL.md

# Update the README
vim README.md

3. Login to PRPM

Authenticate with the registry:
prpm login

4. Publish

Test your package first (optional but recommended):
prpm publish --dry-run
Then publish for real:
prpm publish

5. Update Your Package

When you make changes, increment the version in prpm.json:
{
  "version": "1.1.0"  // Was 1.0.0
}
Then publish again:
prpm publish

Next Steps