--print
Runs Claude Code non-interactively and prints the response directly to standard output.
Syntax
--printExample
Terminal
claude -p "query"Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--printRuns Claude Code non-interactively and prints the response directly to standard output.
--printclaude -p "query"