I'm trying to uninstall a globally installed npm package named commitizen.
When I run this npm uninstall -g commitizen, this returns no results:
I restarted the machine.
Now, to check if the package indeed got uninstalled or not I'm running commitizen expecting an error however to my surprise the command is still available:
The result of npm list -g --depth 0 or npm list -g commitizen:
The result of npm list -g commitizen:
The result of cd /usr/local/lin/node_modules
So the question is what is the right approach of globally deleting the npm package?