---
title: "ni"
description: "Package manager shim that detects the lockfile and runs the right npm, yarn, pnpm or bun command from one short alias."
canonical: "https://vibing.inc/library/ni-vg-0859"
category: "Dev Utilities & Vibe-Coding Tooling"
subcategory: "Build & DX CLI"
license: "MIT"
author: "Anthony Fu (@antfu)"
source: "https://github.com/antfu/ni"
---

# ni
Package manager shim that detects the lockfile and runs the right npm, yarn, pnpm or bun command from one short alias.
## Facts
- Source: https://github.com/antfu/ni
- Category: Dev Utilities & Vibe-Coding Tooling / Build & DX CLI
- Author: Anthony Fu (@antfu)
- Licence: MIT
- Tags: package-manager, cli, dx, monorepo
## Why it's a gem
Ends the daily 'which package manager does this repo use' tax in four keystrokes.
---
Listed in The Vibeary: https://vibing.inc/library/ni-vg-0859 · JSON: https://vibing.inc/api/public/library/gems/ni-vg-0859