I am trying to use the Angular schemats that are shown on this page. When I try to use this following command in the terminal at the root of the project ng generate @ang
I found you're syntax wrong : ng generate @angular/material:nav .
ng generate @angular/material:nav