Run an installed package's executable bin.
Synopsis
ipx <pkg-or-bin> [args...]
Description
Resolves <pkg-or-bin> to a bin — the nearest node_modules/.bin/<name>, or failing that the package's package.json "bin" field — and runs it through the JS runtime, forwarding argv and stdin. Exit codes propagate. The package must already be installed (see man ipk); ipx does not install on demand.
Options
-h, --help Show this help message.
Examples
$ ipk add mri && ipx mri --help
Install a package, then run its bin directly without a wrapper script.
Notes
npx is an alias for this same command. Prefer require('<pkg>') from inside a .jsh script or node -e when you want to use a package's JS API (see man jsh); reach for ipx specifically when you want to invoke a package's own CLI bin as a one-off, the way you'd use npx outside SLICC.
See Also
ipk, jsh, node, commands