This is probably very trivial, but I am hitting my head against the wall while I am trying to (unsuccessfully) install angular-cli.
I am following the official angul
These are the codes I used
sudo npm uninstall -g angular-cli sudo npm uninstall -g @angular/cli sudo npm cache clean --force npm install -g @angular/cli alias ng="~/node_modules/@angular/cli/bin/ng"
for check
ng --version