benang tidak berfungsi setelah menginstal

Execute this on your Mac command line: 
export PATH=~/.npm-global/bin:$PATH.

This will set the NPM GLOBAL PATH DIRECTORY
Dan George