ni <package...>
Use the right package manager - install
Arguments
Name | Description |
---|---|
package |
Options
Name | Description |
---|---|
-g | Operates in 'global' mode, so that packages are installed into the prefix folder instead of the current working directory |
-D | Package will appear in your `devDependencies` |
-P | Save package to your `peerDependencies` |
-O | Save package to your `optionalDependencies` |
--frozen | Don't generate a lockfile and fail if an update is needed |
-C <directory> <target> | Change directory |
-h, --help | Output usage information |