Zero setup
Run with npx. No global install required.
Reposizer
GitHub repository CLI
reposizer shows size, stars, and language in one command, so
you can avoid heavyweight repos and make faster technical decisions.
$ npx reposizer torvalds/linux
Repository: torvalds/linux
Size: 6.02 GB
Stars: 230.8k
Language: C
Run with npx. No global install required.
Use --json output in scripts and CI checks.
Set GITHUB_TOKEN to inspect private repositories.
Documentation
# recommended
npx reposizer owner/repo
# optional global install
npm install -g reposizer
# single repo
reposizer openai/gym
# compare multiple repos (table + optional sort)
reposizer vercel/next.js facebook/react --sort stars
# approximate directory sizes (no clone)
reposizer vercel/next.js --analyze
# approximate lines of code (no clone)
reposizer vercel/next.js --loc
# detect current repo from .git/config
reposizer
reposizer org openai
reposizer org openai --limit 50 --json
reposizer vercel/next.js --json
{
"repository": "vercel/next.js",
"size_mb": 2491.76,
"stars": 139160,
"language": "JavaScript"
}
export GITHUB_TOKEN=your_token
reposizer your-org/private-repo
# Node.js >= 18
node -v