SyntaxFix
Write A Post
Hire A Developer
Questions
It may has not helped OP, but it solved my problem. This answer is to help others who have not tried the command mentioned in OP's question.
Just use npm install -g @angular/cli@latest. It did the trick for me.
npm install -g @angular/cli@latest