ClaudeAgentSDK.Errors.CLINotFoundError exception
(claude_agent_sdk v0.11.0)
Copy Markdown
View Source
Raised when the Claude CLI executable cannot be found.
This typically means Claude Code is not installed or not in the PATH.
Install with: npm install -g @anthropic-ai/claude-code
Fields
:message- Human-readable error description:cli_path- Path that was searched (if available)