Aller au contenu principal

Essential Commands

Web (Node/React)

CommandDescription
npm installInstall dependencies
npm run devDevelopment server
npm testRun tests
npm run test:watchTests in watch mode
npm run lintCheck code (ESLint)
npm run lint:fixAuto-fix
npm run buildProduction build
npm run typecheckCheck TypeScript types

Mobile (Flutter)

CommandDescription
flutter pub getInstall dependencies
flutter runRun on device/emulator
flutter testRun tests
flutter analyzeAnalyze code (lint)
dart fix --applyAuto-fix
flutter build apkAndroid build
flutter build iosiOS build
flutter build webWeb build

Backend (Python)

CommandDescription
pip install -r requirements.txtInstall dependencies
python -m venv .venvCreate a virtual environment
source .venv/bin/activateActivate the environment (Linux/Mac)
pytestRun tests
pytest --covTests with coverage
ruff check .Fast linter
ruff format .Format code
mypy .Check types

Backend (Go)

CommandDescription
go mod downloadInstall dependencies
go run .Run the application
go test ./...Run tests
go test -cover ./...Tests with coverage
go buildCompile the binary
go fmt ./...Format code
go vet ./...Analyze code
golangci-lint runFull linter

Advanced CLI Flags

FlagDescriptionExample
--agent <name>Launch a specific agent directlyclaude --agent qa-security
--agentsList all available agentsclaude --agents
--chromeEnable Chrome integration (visual tests)claude --chrome
--teleportEnable Teleport connection (remote)claude --teleport
--remoteConnect to a remote sessionclaude --remote <session-id>
--fallback-modelFallback model if the primary is unavailableclaude --fallback-model haiku
--plugin-dirPlugin directory to loadclaude --plugin-dir ./plugins
--bareMinimal scripted mode (skip hooks, LSP, plugins, skills)claude -p --bare "query"
--channelsEnable channels (Telegram, Discord, iMessage)claude --channels
--toolsRestrict available toolsclaude --tools "Read,Grep,Glob"
--initInitialize the project (Setup init hook)claude --init
--init-onlyInitialize without starting a sessionclaude --init-only
--maintenanceRun maintenance (Setup maintenance hook)claude --maintenance
--max-budget-usdMaximum budget in USD for the sessionclaude --max-budget-usd 5.00
--fork-sessionFork an existing sessionclaude --fork-session <id>
--strict-mcp-configStrict mode for MCP configclaude --strict-mcp-config
--teammate-modeAgent Teams display mode (auto, in-process, tmux)claude --teammate-mode tmux