Installed angular-cli globally using (npm install -g angular-cli) but when I\'m trying to create project using ng new my-project it is throwing err
npm install -g angular-cli
ng new my-project
According to npm, the angular-cli has been renamed to @angular/cli you can use the following syntax to install it.
npm
angular-cli
@angular/cli
npm install -g @angular/cli