Reputation: 1001
I'm apparently stuck on CLI version 8.3.21. I'm on MacOS Big Sur. I am not in a project folder. In fact, I've blown away all of my node_modules directories within my existing Angular projects. I've tried running:
npm uninstall -g @angular/cli
npm cache clean --force
and
npm uninstall -g angular/cli
npm cache clean --force
When I run ng version
, it still comes up and is fully functional:
I've checked brew list and it's not there either.
How do I get rid of this?
Upvotes: 1
Views: 307
Reputation: 1000
You can list your globally installed packages with
npm ls -g --depth=0
To find out the path of an executable, you can use which
which ng
You can also look for node_modules directories with find
find ~ -type d -name node_modules
Should be enough to locate a lot stuff on *nix OS'
Upvotes: 1