Commands Reference

A quick-reference table for every CLI command used in this stack. Commands are grouped by tool.

Next.js

CommandDescription
npm run devStart the dev server on port 3012
npm run buildCreate a production build
npm run startServe the production build locally
npm run lintRun ESLint across the project

Vercel

CommandDescription
vercelDeploy to preview (or production with --prod)
vercel env pull .env.localPull environment variables to local file
vercel whoamiShow the currently authenticated user
vercel logs <url>Stream logs for a deployment

Use ./cli.sh vercel if running inside an agent environment to load credentials automatically.

Convex

CommandDescription
npx convex devStart dev mode — watches and deploys functions on change
npx convex deployDeploy functions to production
npx convex dashboardOpen the Convex dashboard in a browser
npx convex import <file>Import data from a JSON file
npx convex exportExport all tables to JSON

Use ./cli.sh npx convex deploy for agent-based deployments.

shadcn/ui

CommandDescription
npx shadcn@latest add <name>Add a component to components/ui/
npx shadcn@latest add -aAdd all available components
npx shadcn@latest diff <name>Show upstream changes to a component

Git

CommandDescription
git checkout -b feat/<name>Create a new feature branch
git add -pStage changes interactively by hunk
git commit -m "message"Commit staged changes
git push -u origin HEADPush and set upstream for the current branch
gh pr create --fillCreate a pull request with auto-filled title and body
gh pr merge --squashSquash-merge the current PR

Misc

CommandDescription
npx tsc --noEmitType-check without emitting files
npx prettier --write .Format all files with Prettier
./cli.sh <cmd>Run any command with project credentials loaded