I want to make a npm package and can be installed as global,but when i publish a package,it can't be used in global,what should i do ?
I clone grunt-cli from github,I just want to test whether it can be installed in global,but i failed. What should i do?