Adding following to .bashrc or .zshrc helps
export NODE_PATH=$NODE_PATH:`npm root -g`
I am not expert whether that is good.
source as pointed out by Pensierinmusica
Adding following to .bashrc or .zshrc helps
export NODE_PATH=$NODE_PATH:`npm root -g`
I am not expert whether that is good.
source as pointed out by Pensierinmusica