npx

npx

TLDR

Execute the binary from a given npm module

$ npx [module_name] [command_arguments]
copy

In case a package has multiple binaries, specify the package name along with the binary

$ npx --package [package_name] [module_name]
copy

Run a command if existis in the current path or in node_modules/.bin

$ npx --no-install [command] [command_arguments]
copy

Execute the binary from a given npm module suppressing any output from npx itself

$ npx --quiet [module_name] [command_arguments]
copy

Display help

$ npx --help
copy

Copied to clipboard
chromebooks