ProofKit

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 init
pnpm proofkit init
yarn proofkit init
bun proofkit init

Add Components

Add new components to your project:

npm run proofkit add
pnpm proofkit add
yarn proofkit add
bun proofkit add

This 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 upgrade
pnpm proofkit upgrade
yarn proofkit upgrade
bun proofkit upgrade

This 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 deploy
pnpm proofkit deploy
yarn proofkit deploy
bun proofkit deploy

See Deployment for more details about deploying your application.