Blog

Installing npm packages globally without root
Create a folder for global packages to be install into $ mdkir "${HOME}/.npm-packages" Tell npm to use this folder $ npm config set prefix "${HOME}/.npm-packages" Add the corresponding ${HOME}/.npm-packages/bin folder to your PATH