Ross ROSS = Recommend OSS · open-source software intelligence for agents

antfu-collective/ni

💡 Use the right package manager observed · 2026-08-28

github.com/antfu-collective/ni · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

97/100

  • Activity 96
  • Release rhythm 96
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 15
  • age_days: 2127
  • days_rel: 28
  • days_push: 28
  • n_releases_24m: 28

Full methodology

Adoption not part of the score

8291 stars · 276 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

ni is a CLI tool that detects the correct JavaScript package manager (npm, yarn, pnpm, bun, deno, etc.) for a project and translates a single unified command into the right one. It provides commands like ni, nr, nx, and nu for installing, running, and upgrading dependencies without memorizing manager-specific syntax.

Use cases

  • run npm install in a yarn project without errors
  • install dependencies without knowing which package manager the repo uses
  • run scripts with a single command across npm/yarn/pnpm/bun projects
  • add dev dependencies with consistent syntax across package managers
  • clean-install with frozen lockfile in CI
  • manage pnpm workspace catalogs when adding packages

When to choose

  • you switch between JavaScript projects using different package managers
  • you want one consistent command set for install/run/upgrade across teams
  • you work in monorepos with pnpm or yarn workspaces and catalogs

When to avoid

  • you only ever use a single package manager
  • you need fine-grained control over manager-specific flags not covered by ni
  • you work outside the JavaScript/Node ecosystem

Facets

cli-tool · maturity active

cli package-manager developer-tools developer-tools web-development cli cross-platform npm yarn pnpm bun deno monorepo javascript command-line nodejs

1 source

Member repositories

RepositoryRoleHealth v2
antfu-collective/nimain97

For agents

markdown · JSON · MCP: product_card(name="antfu-collective/ni")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem