ni <package...>

Use the right package manager - install

Arguments

NameDescription
package

Options

NameDescription
-gOperates in 'global' mode, so that packages are installed into the prefix folder instead of the current working directory
-DPackage will appear in your `devDependencies`
-PSave package to your `peerDependencies`
-OSave package to your `optionalDependencies`
--frozenDon't generate a lockfile and fail if an update is needed
-C <directory> <target>Change directory
-h, --helpOutput usage information