dev-util/ccusage - 19.0.3 (robert7k)

Search

Install

Install this version:

emerge -a =dev-util/ccusage-19.0.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/ccusage-19.0.3

Or alternatively:

emerge --autounmask-write -a =dev-util/ccusage-19.0.3

Package Information

Description:
Usage analysis tool for Claude Code token usage and costs
Homepage:
https://github.com/ryoppippi/ccusage https://ccusage.com/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
19.0.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Usage analysis tool for Claude Code token usage and costs"
HOMEPAGE="https://github.com/ryoppippi/ccusage https://ccusage.com/"
SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"

S="${WORKDIR}/package"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=net-libs/nodejs-20.19.4
"

src_compile() {
	# Skip, nothing to compile here.
	:
}

src_install() {
	insinto /opt/${PN}
	doins -r .

	fperms a+x opt/${PN}/dist/index.js

	dodir /opt/bin
	dosym -r /opt/${PN}/dist/index.js /opt/bin/ccusage
}

Dependencies

RDEPEND

	>=net-libs/nodejs-20.19.4

Manifest for 19.0.3

Type File Size Source URLs
DIST ccusage-19.0.3.tgz 69202 bytes https://registry.npmjs.org/ccusage/-/ccusage-19.0.3.tgz