⌨️Claude Code CLI Command
Also known as claude subcommand, Claude Code CLI commands, claude command line
A command you type in the shell after claude, outside a chat.
Think of it like
It is like the buttons on the outside of a toy box. You use them before you open it.
Example
Jack wants to know which account his laptop uses. He does not open a chat. He types claude auth status in his shell and reads the answer.
Why it matters
Scripts and CI jobs cannot type into a chat. CLI commands are what they can run.
Definition
Example code
bash
claude auth status --textCommon mistake
Key takeaways
- 1Typed in the shell. After claude.
- 2No chat. It prints and stops.
- 3Scripts can run it. CI too.