npm-run-path-cli

October 5, 2021 ยท View on GitHub

Get your PATH prepended with locally installed binaries

In npm run scripts you can execute locally installed binaries by name. This enables the same outside npm.

Install

npm install --global npm-run-path-cli

Usage

$ npm-run-path --help

  Example
    $ export PATH="$(npm-run-path)"