I am using:
node -v v10.15.3
npm -v 6.4.1
I have tried below mentioned command
command: npm i -g angular/cli
Error while executing: npm ERR! /usr/local/bin/git ls-remote -h -t ssh://[email protected]/angular/cli.git
command: npm i -g @angular/cli
npm ERR! path /Users/admin/.node_modules/bin/ng npm ERR! code EEXIST npm ERR! Refusing to delete /Users/admin/.node_modules/bin/ng: ../lib/node_modules/angular-cli/bin/ng symlink target is not controlled by npm /Users/admin/.node_modules/lib/node_modules/@angular/cli npm ERR! File exists: /Users/admin/.node_modules/bin/ng npm ERR! Move it away, and try again.
