Claude Code โข Firebase โข Git โข NPM โข Docker โข Cloud Run โข Terminal
npm install if dependencies changed.
VITE_USE_FIREBASE=true, localhost still hits live Firestore โ only the UI is local. Anything needing a new rule/function fails here until you deploy it (step 5).
dist/ (what Hosting serves). If it fails, fix before deploying โ nothing reached live.
hosting.
.web.app URL. Confirm it works live โ sometimes it passes locally but not in prod.
npm run dev won't see .env changes (like flipping VITE_USE_FIREBASE) until you restart it (Ctrl+C โ rerun). Broke the live site? Roll back instantly in Firebase Console โ Hosting โ release history. Functions need "node": "20" or "22" in functions/package.json (not 24).
--dangerously-skip-permissions = "YOLO mode". It auto-approves every file write, shell command, and network call with no prompts. Only run it in a trusted repo where git is your undo button โ commit before you start so you can roll back. Equivalent to --permission-mode bypassPermissions.
claude -r.
default, acceptEdits, plan, auto, bypassPermissions.
opus, sonnet, haiku) or a full model ID for this session.
--dangerously-skip-permissions for fully headless runs.
claude isn't recognized in CMD at all.
claude auth login to sign in, claude auth logout to switch.
cc.bat in a folder that's on your PATH (e.g. C:\Windows or a personal C:\bin):
cc in any project folder to launch in skip-permissions mode. The %* passes through anything extra, so cc "fix the build" works too.
firebase use --add to create aliases like "prod" or "dev".
firebase use prod.
git add.
docker ps.
lsof or ps aux.
hostname -I instead.
Ctrl+R in terminal to reverse-search your command history.
Press Tab to autocomplete paths and commands. Chain commands with && (runs next only if previous succeeds).