Command-line tool
ni
brew/ni
Checked 25 Oct 2026, 21:11 UTC · Still published on npm
Selects the right Node package manager based on lockfiles
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:11 UTC
Install it
Windows
npm install -g @antfu/ni
macOS
brew install ni npm install -g @antfu/ni
Linux
npm install -g @antfu/ni
Install all dependencies (equivalent to `npm install`, `yarn install`, etc.)
ni
Install a specific package (-D for dev dependencies)
ni package
Run a `package.json` script (interactively select if no script is provided)
nr script
Related command-line tools
- aube
Fast Node.js package manager - nub
Fast TypeScript runtime and package manager that augments Node package-manager nodejs javascript-runtime… - Node.js 6
Zero-runtime-dependency package acting as bridge between Node projects and their package managers. cross-platform… - Node.js 8
Zero-runtime-dependency package acting as bridge between Node projects and their package managers. cross-platform… - Node.js 12
Zero-runtime-dependency package acting as bridge between Node projects and their package managers. cross-platform… - Node.js 14
Zero-runtime-dependency package acting as bridge between Node projects and their package managers. cross-platform… - Node.js 16
Zero-runtime-dependency package acting as bridge between Node projects and their package managers. cross-platform… - Node.js 17
Zero-runtime-dependency package acting as bridge between Node projects and their package managers. cross-platform…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents