Install via npm
The easiest way to install the PRPM CLI is using npm:Verify Installation
Check that PRPM is installed correctly:System Requirements
- Node.js: 18.x or higher
- npm: 9.x or higher
- Operating Systems: macOS, Linux, Windows
Authentication Setup
Before publishing packages, you’ll need to authenticate:Alternative: Use with npx
If you don’t want to install globally, you can use npx:Using npx will download the CLI each time, which is slower than installing globally.
Configuration
PRPM stores configuration in~/.prpmrc.
View all configuration:
Common Configuration Options
registry- Registry URL (default:https://registry.prpm.dev)token- Authentication token (set automatically byprpm login)telemetry- Enable/disable telemetry (default:true)
Environment Variables
You can also configure PRPM using environment variables:Troubleshooting
Command not found
Ifprpm command is not found after installation:
-
Check if npm global bin is in your PATH:
-
Add npm global bin to PATH:
Permission errors
If you get EACCES errors:-
Change npm’s default directory (recommended):
-
Or use sudo (less secure):
For more troubleshooting help, see the Troubleshooting Guide.