OS Manuals

/usr/share/actions-runner/externals/node24/bin/npx

The Runner for GitHub Actions

From actions-runner 2.338.2-r3 (enterprise-packages), captured 2026-11-08 by running npx --help (exit 0). permalink

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 <package-spec> [--package <package-spec> ...]] [-c|--call <call>]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[--workspaces] [--include-workspace-root]
[--allow-scripts <package-list> [--allow-scripts <package-list> ...]]
[--strict-allow-scripts] [--dangerously-allow-all-scripts]

  --package
    The package or packages to install for [`npm exec`](/commands/npm-exec)

  -c|--call
    Optional companion option for `npm exec`, `npx` that allows for

  -w|--workspace
    Enable running a command in the context of the configured workspaces of the

  --workspaces
    Set to true to run the command in the context of **all** configured

  --include-workspace-root
    Include the workspace root when workspaces are enabled for a command.

  --allow-scripts
    Comma-separated list of packages whose install-time lifecycle scripts

  --strict-allow-scripts
    If `true`, turn the install-script policy from a warning into a hard

  --dangerously-allow-all-scripts
    If `true`, bypass the `allowScripts` policy entirely and run every


alias: x

Run "npm help exec" for more info
Options (6)
OptionDescriptionSource
--packageThe package or packages to install for [`npm exec`](/commands/npm-exec)help
--workspacesSet to true to run the command in the context of **all** configuredhelp
--include-workspace-rootInclude the workspace root when workspaces are enabled for a command.help
--allow-scriptsComma-separated list of packages whose install-time lifecycle scriptshelp
--strict-allow-scriptsIf `true`, turn the install-script policy from a warning into a hardhelp
--dangerously-allow-all-scriptsIf `true`, bypass the `allowScripts` policy entirely and run everyhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.