Skip to content

ccusage / data-loader / getClaudePaths

Function: getClaudePaths()

ts
function getClaudePaths(): string[];

Get all Claude data directories to search for usage data Supports multiple paths: environment variable (comma-separated), new default, and old default

Returns

string[]

Array of valid Claude data directory paths

Released under the MIT License.