@nodenv/nodenv-each
v1.3.0
Published
nodenv plugin to run a command across all installed nodes
Downloads
3
Readme
nodenv-each
Invoke commands for each nodenv Node version
Installation
To install nodenv-each, clone this repository into your nodenv plugins directory.
$ mkdir -p "$(nodenv root)"/plugins
$ git clone https://github.com/nodenv/nodenv-each.git "$(nodenv root)"/plugins/nodenv-each
Usage
$ nodenv help each
Verbose mode will print a header for each node so you can distinguish the output.
note: Aliases (nodenv-aliases) or symlinks are skipped.
Examples
$ nodenv each npm install
$ nodenv each -v npm test
Credits
Forked from Chris Eppstein's rbenv-each by Jason Karns and modified for nodenv.