Reputation: 3657
I've unistalled angular/cli -g
but running ng -v
shows me angular cli: 1.6.2
How is that possible? I'm not in a directory with packakge.json
file or node_modules
folder.
After installing npm install -g @angular/cli
nothing changes. ng -v
still returns 1.6.2
I have node: v8.11.2
and npm: 6.0.1
Upvotes: 1
Views: 77
Reputation: 62213
To find the location of the file execute this: where ng
, that should give you the folders where the ng
command is found. Then you can track these down and delete them.
Upvotes: 2