A comprehensive guide to Claude Code's CLI flags, worktree isolation, session management, and production workflows.
Using /model or ALT+P changes the model globally across all future sessions — it writes to your settings file. When you want different models in different terminals, use the --model flag instead: