CLI Commands
A comprehensive guide to ProofKit CLI commands
ProofKit comes with a powerful CLI that helps you manage your project. Here's a comprehensive list of available commands.
Basic Commands
Initialize a New Project
Create a new ProofKit project:
npm run proofkit initpnpm proofkit inityarn proofkit initbun proofkit initAdd Components
Add new components to your project:
npm run proofkit addpnpm proofkit addyarn proofkit addbun proofkit addThis will prompt you with options to add:
- Pages
- Data Sources
- Schema
- Authentication
See Adding Components for more details.
Maintenance Commands
Upgrade Components
Keep your ProofKit components up to date with the upgrade command:
npm run proofkit upgradepnpm proofkit upgradeyarn proofkit upgradebun proofkit upgradeThis command helps you maintain your ProofKit project by:
- Updating cursor rules to the latest version
- Ensuring your project has the latest component configurations
- Synchronizing project settings with the latest ProofKit standards
Run this command periodically to ensure your project stays current with the latest ProofKit features and improvements.
Deploy
Deploy your ProofKit application:
npm run proofkit deploypnpm proofkit deployyarn proofkit deploybun proofkit deploySee Deployment for more details about deploying your application.
