npx

Execute binaries from npm packages. More information: <https://github.com/npm/npx>.

Install

All systems
curl cmd.cat/npx.sh
Debian Debian
apt-get install npm
Ubuntu
apt-get install npm
Alpine
apk add npm
Arch Arch Linux
pacman -S npm
image/svg+xml Kali Linux
apt-get install npm
Fedora
dnf install npm-1
Windows (WSL2)
sudo apt-get update sudo apt-get install npm
OS X
brew install [email protected]
Raspbian
apt-get install npm
Docker
docker run cmd.cat/npx npx powered by Commando

Execute binaries from npm packages. More information: <https://github.com/npm/npx>.

  • Execute the binary from a given npm module:
    npx module_name command_arguments
  • In case a package has multiple binaries, specify the package name along with the binary:
    npx --package package_name module_name
  • Run a command if it exists in the current path or in `node_modules/.bin`:
    npx --no-install command command_arguments
  • Execute the binary from a given npm module suppressing any output from `npx` itself:
    npx --quiet module_name command_arguments
  • Display help:
    npx --help

© tl;dr; authors and contributors