mix claude_code.path (ClaudeCode v0.21.0)
View SourcePrints the path to the resolved Claude CLI binary.
This is useful for running the CLI directly, e.g., for authentication:
$(mix claude_code.path) /loginUsage
mix claude_code.pathResolution
The path is resolved based on the :cli_path configuration:
:bundled(default) — Uses the binary inpriv/bin/, auto-installs if missing:global— Finds the system-installedclaudebinary"/path/to/claude"— Uses the explicit path
Configure via application config:
config :claude_code, cli_path: :global