Skip to main content

detect

Function detect 

Source
pub fn detect() -> Option<PathBuf>
Expand description

Detect whether Claude Code is installed.

Returns Some(claude_dir) if the ~/.claude/ directory (or %USERPROFILE%\.claude\ on Windows) exists, otherwise None.