Please install these tools to be ready:
npm i -g @angular/cli
Test:
node -v npm -v ng v
hint
Clean up old version (if installed) npm unlink angular-cli npm rm -g angular-cli npm cache clear
or in case of other problems while install angular cli npm unlink @angular/cli npm rm -g @angular/cli npm cache clear