7900 shaares
161 private links
161 private links
Install properly packages from NPM.
npm config set prefix ~/.npm
instead of installing pakages globally. They stay in the user directory.
and then add $HOME/.npm/bin
to your PATH with export PATH="$HOME/.npm/bin:$PATH"
EDIT : $PATH
must come after $HOME/.npm/bin
. LOL