Commands Reference
A quick-reference table for every CLI command used in this stack. Commands are grouped by tool.
Next.js
| Command | Description |
|---|---|
npm run dev | Start the dev server on port 3012 |
npm run build | Create a production build |
npm run start | Serve the production build locally |
npm run lint | Run ESLint across the project |
Vercel
| Command | Description |
|---|---|
vercel | Deploy to preview (or production with --prod) |
vercel env pull .env.local | Pull environment variables to local file |
vercel whoami | Show 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
| Command | Description |
|---|---|
npx convex dev | Start dev mode — watches and deploys functions on change |
npx convex deploy | Deploy functions to production |
npx convex dashboard | Open the Convex dashboard in a browser |
npx convex import <file> | Import data from a JSON file |
npx convex export | Export all tables to JSON |
Use ./cli.sh npx convex deploy for agent-based deployments.
shadcn/ui
| Command | Description |
|---|---|
npx shadcn@latest add <name> | Add a component to components/ui/ |
npx shadcn@latest add -a | Add all available components |
npx shadcn@latest diff <name> | Show upstream changes to a component |
Git
| Command | Description |
|---|---|
git checkout -b feat/<name> | Create a new feature branch |
git add -p | Stage changes interactively by hunk |
git commit -m "message" | Commit staged changes |
git push -u origin HEAD | Push and set upstream for the current branch |
gh pr create --fill | Create a pull request with auto-filled title and body |
gh pr merge --squash | Squash-merge the current PR |
Misc
| Command | Description |
|---|---|
npx tsc --noEmit | Type-check without emitting files |
npx prettier --write . | Format all files with Prettier |
./cli.sh <cmd> | Run any command with project credentials loaded |