I am unable to install Angular Cli globally through npm.
I keep getting this error when I run npm install -g @angular/cli on macOS:
npm ERR! nod
Hello Please Follow my guide to install angular 4 from the cli without any permission issues:
Install the angular-cli globally
sudo npm install -g @angular/cli
Create a new project
ng new my-app --skip-install
Serve the application
sudo chown -R my-app
cd my-app
mkdir node_modules
chmod a+w node_modules
npm install
ng serve --open