--init-only
Executes Setup and SessionStart hooks then immediately exits.
Syntax
--init-onlyExample
Terminal
claude --init-onlyProgress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--init-onlyExecutes Setup and SessionStart hooks then immediately exits.
--init-onlyclaude --init-only