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
I've solved the same issue with adding an alias like:
alias ng="path-to-your-global-node-modules/angular-cli/bin/ng"