CmdID

CmdID / Commands

ni

Use the right package manager (npm, yarn, pnpm, bun, or deno) automatically. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Use the right package manager (npm, yarn, pnpm, bun, or deno) automatically. Detect the current project's lockfile to run the corresponding commands. Note: In PowerShell, ni is a built-in alias for New-Item. To use this tool, the alias must be removed.

Install all dependencies (equivalent to npm install, yarn install, etc.)

Install a specific package (-D for dev dependencies)

ni packageIdentify

Run a package.json script (interactively select if no script is provided)

nr script

Download and execute a command from a package (equivalent to npx, pnpm dlx, etc.)

nlx package

Upgrade dependencies

nup

Uninstall a package

nun package

Clean install dependencies (equivalent to npm ci, etc.)

nci

Use the current package manager agent directly for arbitrary commands

na command

Windows

from tldr-pages, CC BY 4.0

In PowerShell, this command is an alias of New-Item.