Difference between revisions of "Npx --help"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> npx --help npm exec Run a command from a local or remote npm package Usage: npm exec -- <pkg>[@<version>] [args...] npm exec --package=<pkg>[@<version>] -- <cmd> [args...")
 
Line 1: Line 1:
 +
{{lowercase}}
 
<pre>
 
<pre>
 
npx --help
 
npx --help

Revision as of 09:51, 19 January 2022

npx --help
npm exec

Run a command from a local or remote npm package

Usage:
npm exec -- <pkg>[@<version>] [args...]
npm exec --package=<pkg>[@<version>] -- <cmd> [args...]
npm exec -c '<cmd> [args...]'
npm exec --package=foo -c '<cmd> [args...]'

Options:
[--package <pkg>[@<version>] [--package <pkg>[@<version>] ...]]
[-c|--call <call>]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]

alias: x

Run "npm help exec" for more info

See also

Advertising: