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
If you have installed angular cli globally but ng isn't working, just do this:
echo -e "export PATH=$(npm prefix -g)/bin:$PATH" >> ~/.bashrc source ~/.bashrc ng --version