Skip to content

Deno quick start command does not work #841

@leumasme

Description

@leumasme

The deno quick start command
deno run -E -R=$HOME/.claude/projects/ -S=homedir -N='raw.githubusercontent.com:443' npm:ccusage@latest
given on https://ccusage.com/guide/installation does not work.

Running the command first prompts the user for read access to 4 more paths and then finishes with no claude usage data found:

deno run -E -R=$HOME/.claude/projects/ -S=homedir -N='raw.githubusercontent.com:443' npm:ccusage@latest
✅ Granted read access to "/tmp".
✅ Granted read access to "/home/myuser/.config/claude".
✅ Granted read access to "/home/myuser/.claude".
✅ Granted read access to "/home/myuser/claude/.ccusage/ccusage.json".

 WARN  No Claude usage data found.

The dependency/read attempts on the other paths should be removed, or these paths should be included as read-permitted paths in the initial command.
The tool shouldn't fail to find claude usage data.

Running npx ccusage@latest instead correctly finds and reports usage data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions