npm install -g nodenv
echo "source $(which nodenv)" >> ~/.bashrc
nenv -awill look from your current working directory and up the directory tree for a
node_modules/.binfolder. If found, this with be added to your
PATHenvironment variable - in the current context only, not permanent.
The entry will be added at the start of your PATH and therefore
local > global. Example being
npm install -g module-with-binand the same module installed locally, local will win over global while nenv is active.