React
React and Next.js CLI tools for creating, building, and deploying modern web applications and components.
69 commands
Browse by Topic
Getting Started
Quick setup and installation
Next.js
Next.js framework
Vite
Vite build tool
React Native
Mobile development
Storybook
Component development
Testing
Jest & Vitest
UI Libraries
shadcn/ui & Tailwind
Bundle
Bundle analysis
Server Components
Server Components & Actions
Debugging
DevTools & debugging
Create React app with Vite
Scaffold a new React + TypeScript project using Vite
Create React app with Next.js
Scaffold a new Next.js project with interactive setup prompts
Check React version
Display the installed React version in the current project
Create Next.js app
Create Next.js project with TypeScript and Tailwind.
Start dev server
Start development server with Turbopack (default in v16+).
Dev with custom port
Start dev server on custom port.
Build for production
Create optimized production build.
Start production
Start production server (after build).
Use Webpack (not Turbopack)
Use Webpack instead of Turbopack for dev.
System info
Display system info for debugging.
Analyze bundle
Analyze bundle sizes with Turbopack.
Create Next.js 15 with Turbopack
Create Next.js 15 app with App Router and Turbopack enabled.
Dev with Turbopack (explicit)
Start dev server with Turbopack (50% faster builds).
HTTPS dev server
Start dev server with HTTPS enabled for local development.
Parallel build optimization
Build with experimental parallel build workers for faster builds.
Production with Turbopack
Start production server with Turbopack optimizations.
Pre-compile pages
Pre-compile pages for faster development server startup.
Disable telemetry
Disable Next.js anonymous telemetry collection.
Create Vite React app
Create Vite project with React and TypeScript.
Create with SWC
Create Vite project with SWC compiler (faster).
Start dev server
Start Vite dev server with HMR.
Dev with custom port
Start dev server on custom port.
Build for production
Build production bundle with Rollup.
Preview production
Preview production build locally.
Force re-optimize
Force re-optimization of dependencies.
Open browser
Auto-open browser on server start.
Create Vite + SWC (no TS)
Create Vite project with SWC compiler (JavaScript, no TypeScript).
Production build with sourcemaps
Build for production with source maps for debugging.
Preview on network
Preview production build accessible on local network.
Create React Native app
Initialize new React Native project.
Start Metro bundler
Start Metro bundler (default port 8081).
Reset Metro cache
Start Metro with cache cleared.
Run on iOS
Build and run on iOS simulator.
Run on iOS device
Build and run on specific iOS device.
Run on Android
Build and run on Android emulator/device.
Doctor check
Diagnose and fix common issues.
View Android logs
Stream Android device logs.
Clean build
Clean build artifacts.
Initialize Storybook
Add Storybook to existing project (auto-detects).
Start Storybook
Start Storybook dev server (default: localhost:6006).
Storybook custom port
Start Storybook on custom port.
Build Storybook
Build static Storybook for deployment.
Add addon
Add Storybook addon.
Upgrade Storybook
Upgrade to latest Storybook version.
Storybook doctor
Check for known problems.
Run Jest tests
Run all Jest tests once.
Jest watch mode
Run tests in watch mode.
Jest with coverage
Run tests with coverage report.
Update snapshots
Update Jest snapshots.
Run Vitest
Run Vitest in watch mode (Vite projects).
Vitest run once
Run Vitest tests once.
Vitest with coverage
Run Vitest with coverage.
Vitest UI
Run Vitest with interactive UI.
Initialize shadcn/ui
Set up shadcn/ui in your project.
Add shadcn component
Add a specific shadcn/ui component.
Add all shadcn components
Add all available shadcn/ui components.
Install Tailwind
Install and initialize Tailwind CSS.
Source map explorer
Analyze bundle with source maps.
CRA bundle analyzer
Analyze Create React App bundle.
Next.js bundle analyzer
Analyze Next.js bundle (requires @next/bundle-analyzer).
Mark Server Action
Directive to mark async functions as Server Actions (top of file or function).
Mark Client Component
Directive to mark component as Client Component (required for hooks, events).
Force dynamic rendering
Force page to render dynamically on every request (disable static optimization).
ISR revalidation interval
Set Incremental Static Regeneration interval in seconds (ISR).
Set cookies in Server Component
Set HTTP cookies in Server Components or Server Actions.
Access headers in Server Component
Read request headers in Server Components or Server Actions.
Enable Node.js inspector
Start Next.js dev server with Node.js debugging enabled (chrome://inspect).
Enable debug mode
Start Next.js with debug logging enabled for troubleshooting.
Build with React profiling
Build Next.js with React profiling enabled for performance analysis.
Discussion
Loading comments...