8465 shaares
203 private links
203 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