Skip to content

Headless mode

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

Running Claude Code with a single command and no conversation, such as claude -p followed by the prompt, so it prints the result and exits. Used in scripts and CI pipelines, and it needs carefully set permissions since nobody is watching.

In Arabic

الوضع غير التفاعلي

تشغيل Claude Code بأمر واحد دون محادثة، مثل claude -p متبوعاً بالبرومبت، فيطبع النتيجة ويخرج. يُستعمل في السكربتات ومسارات CI، ويحتاج أذونات محددة بعناية لأن أحداً لا يراقبه.

Also known as: headless، claude -p، print mode

See also

All terms