我正在努力学习Angular,我在终端的知识是初学者.我安装Angular然后输入ng new my-project.我得到了答复ng: command not found.我见过其他有这个问题的帖子,我已经卸载并重新安装了npm和ng.
ng new my-project
ng: command not found
我采取的最后一步是npm install -g @ angular/cli @ latest然后ng new my-project.
然后我明白了ng: command not found.
谢谢,
angular
angular ×1