# Install ccusage with npm

Analyze coding (agent) CLI token usage and costs from local data. Version 20.0.14 via npm; verified 2026-06-15.

## Install

```sh
sudo av install npm:ccusage
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g ccusage
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:ccusage
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/ccusage>
- **Version:** 20.0.14
- **Source summary:** Analyze coding (agent) CLI token usage and costs from local data
- **Homepage:** <https://github.com/ccusage/ccusage#readme>
- **Repository:** <https://github.com/ccusage/ccusage>
- **Upstream docs:** <https://github.com/ccusage/ccusage#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/ccusage/-/ccusage-20.0.14.tgz>
- **Issue tracker:** <https://github.com/ccusage/ccusage/issues>
- **Published:** 2026-06-15T22:17:12.131Z
- **Last updated:** 2026-06-15T22:17:12.131Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ccusage (cli)

## Build dependencies

- @types/node
- publint

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 20.0.14
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/ccusage/ccusage
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for ccusage. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 20.0.14
- **Version Count:** 127
- **Maintainers:** ryoppippi
- **Publisher:** GitHub Actions
- **Optional Dependencies:** @ccusage/ccusage-darwin-arm64, @ccusage/ccusage-darwin-x64, @ccusage/ccusage-linux-arm64, @ccusage/ccusage-linux-x64, @ccusage/ccusage-win32-arm64, @ccusage/ccusage-win32-x64
- **Funding:** <https://github.com/sponsors/ryoppippi>
- **Integrity:** sha512-xAkGU9NZdhbxj11o6J9x/tqNXicLz29y9j3nTJEkPI76LW4i6IrsXXcD9ywqzbKRsq1NlJLEhnBRgaZAksS9WA==
- **Shasum:** bb7798123f463d93b25fca04996f12a4eb47e78d
- **Unpacked Size:** 448,500
- **File Count:** 0
- **Created At:** 2025-05-29T19:25:18.575Z
- **Latest Published At:** 2026-06-15T22:17:12.131Z
- **Modified At:** 2026-06-15T22:17:12.422Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [ccusage](https://www.automicvault.com/pkg/brew/ccusage/) - Same normalized package name appears in another local ecosystem. Shared terms: ccusage, cli, developer, developer-tools, local.
- [agent-afk](https://www.automicvault.com/pkg/npm/agent-afk/) - Local package facts share a topical domain. Shared terms: agent, agents, ai-coding-agents, cli, coding.
- [acpx](https://www.automicvault.com/pkg/npm/acpx/) - Local package facts share a topical domain. Shared terms: agent, agents, ai-coding-agents, cli, coding.
- [ccusage](https://www.automicvault.com/pkg/brew/ccusage/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
