add npm install -g support