Skip to main content

check_cli

Function check_cli 

Source
pub async fn check_cli() -> Result<String, ClaudeError>
Expand description

Checks that the claude CLI is available and returns its version string.

Runs claude --version and returns the trimmed stdout on success. To check a binary at a custom path, use check_cli_with_path.

ยงErrors