Ni package manager
antfu/ni: π‘ Use the right package manager
Never npm i
in a yarn
project again!
Commands
ni
- install
To install a package with ni
, run ==ni vite
== (example: vite).
nr
- run
To run a command with ni
, run ==nr dev
== (example: dev).
nlx
- download & execute
nu
- upgrade
To upgrade a package with ni
, run ==nu vite
== (example: vite).
nun
- uninstall
To install a package with ni
, run ==nun vite
== (example: vite).
nci
- clean install
if the corresponding node manager is not present, this command will install it globally along the way.
na
- agent alias
Global Flags