npm
npmThe package manager for Node.js, and the client for its registry.
The package manager for Node.js, and the client for its registry.
Global options only; use the Install, Run, Outdated and Publish subcommands.
npm installInstall dependencies or add packages. Dependency-layout and legacy flags are left out.
ignore_scriptsno_auditno_fundpackagessave_exactpackagessave_exactstring · positional 0 · repeatableboolean--save-dev-Dboolean--save-optional-Oboolean--save-exact-Eboolean--no-saveboolean--global-gboolean--ignore-scriptsboolean--legacy-peer-depsboolean--no-auditboolean--no-fundboolean--dry-runstring--registrystring · repeatable-w--workspaceboolean-ws--workspacesnpm runRun a script from package.json. Extra arguments after -- are not covered.
scriptif_presentstring · positional 0boolean--if-presentboolean--ignore-scriptsstring--script-shellstring · repeatable-w--workspaceboolean-ws--workspacesnpm outdatedList outdated packages.
packageslongstring · positional 0 · repeatableboolean-a-allboolean--jsonboolean--long-lboolean--parseable-pboolean-gstring · repeatable-w--workspaceboolean-ws--workspacesnpm publishPublish a package to the registry. Prefer a dry run first.
targettagaccesstargettagaccessotppath · positional 0string--tagenum--accessrestrictedpublicboolean--dry-runstring--otpstring · repeatable-w--workspaceboolean-ws--workspacesfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed npm against its version. A form that does not match your version is not offered.