# ni — card for AI agents

Runs the right package manager (npm, yarn, pnpm, bun) for the project.

Category: Dev workflow and config · npm package `@antfu/ni` · latest version 30.6.0 (checked 2026-11-01)
Install: `npm install @antfu/ni`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 53.8 (#1571 of all tools, 124 of 299 in its category)
- Used in 6 public projects set up for AI coding agents (0.1%)
- Downloads last week: 3,941,491 (as of 2026-11-24), +45.7% over 4 weeks
- GitHub stars: 8,320 (as of 2026-11-24)
- Last push: 2026-10-09

## Often used with
Vitest 100.0%, bumpp 80.0%, Vite 80.0%, @antfu/eslint-config 60.0%, lint-staged 60.0%, simple-git-hooks 60.0%

## Links
- AgentGid page: https://agentgid.com/tools/antfu-ni/
- Homepage: https://github.com/antfu-collective/ni#readme
- Repository: https://github.com/antfu-collective/ni

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
