Remove package globally Let's say you install a package globally npm install -g jshint and then you are unable to fully remove it globally. And you have tried npm uninstall -g jshint Then try this then: npm rm -g jshint