All apps/ni

ni

ni

Use the right package manager.

Runs as ni, nci, nr, nup, nun, nd, nlx, na|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 7 fields

ni / na-family install with the project package manager auto-detected. Other ni-family commands (nr, nun, nup) have their own forms.

Opens the form; the finished command lands at your prompt, unrun
otty gui ni
Install packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages*
string
Global
-g
Dev dependencies
-D
TasksEach one presets the form for one job
Add packages
packagesdevglobal
Add dev dependency
packages
Install frozen lockfile
cwd
ParametersOnly these flags are editable in the form
Packages
string · positional 0 · repeatable
Global
boolean
-g
Dev dependencies
boolean
-D
Peer dependencies
boolean
-P
Optional dependencies
boolean
-O
Frozen lockfile
boolean
--frozen
Run in directory
path
-C
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed ni against its version. A form that does not match your version is not offered.