Difference between revisions of "Npx --help"
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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
− | |||
− | |||
− | Run a command from a local or remote npm package | + | 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 == | == See also == |
Latest revision as of 15:58, 27 May 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[edit]
Advertising: