Notes &
NPM completion.sh when installed with Homebrew
If you installed Node.js with Homebrew instead of from source, you’ll need to add the npm bash completion script to your .bashrc file as follows:
source /usr/local/lib/node_modules/npm/lib/utils/completion.sh
Different path, same thing. ;)