I am trying to make a new project using "ng new client" but this command open a editor like below.
I think you were looking for following:
sudo apt remove mg ng-common npm install -g @angular/cli