Can't install angular-cli on Mac

前端 未结 12 1133
南笙
南笙 2020-12-28 23:33

This is probably very trivial, but I am hitting my head against the wall while I am trying to (unsuccessfully) install angular-cli.

I am following the official angul

12条回答
  •  渐次进展
    2020-12-29 00:19

    Steps to install angular cli.

    1. Download Nodejs and Install it. https://nodejs.org/en/
    2. Open terminal and type: sudo npm install -g @angular/cli

    Just remember that -g represents global scope hence package is installing in root level folders. Hence the command should start with "sudo"

提交回复
热议问题