npx

Execute binaries from `npm` packages.

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
OS X
brew install [email protected]
Raspbian
apt-get install npm

Execute binaries from `npm` packages.

  • Execute the binary from a given npm module:
    npx module_name
  • In case a package has multiple binaries, specify the package name along with the binary:
    npx -p package_name module_name
  • View help contents:
    npx --help

© tl;dr; authors and contributors