-1

After installing angular,

home@Hannahs-MacBook-Pro ~ % node --version
v16.15.0
home@Hannahs-MacBook-Pro ~ % npm --version
8.5.5
home@Hannahs-MacBook-Pro ~ % npm install -g @angular/cli

changed 196 packages, and audited 197 packages in 7s

24 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

ng is not found,

home@Hannahs-MacBook-Pro ~ % ng new my-app
zsh: command not found: ng

My path is,

home@Hannahs-MacBook-Pro ~ % echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

What can I do to get ng / angular working through terminal and also through vscode

Chillah
  • 1
  • 3
  • Maybe something from here would be a solution for you - https://stackoverflow.com/questions/58138138/angular-cli-ng-command-not-found-on-mac-os – Monomachus May 18 '22 at 14:40
  • Have you followed the instructions at https://angular.io/guide/setup-local ? –  May 18 '22 at 14:46

1 Answers1

0

start a new terminal. As any new thing added to environment variable need a new terminal instance.

Aakash Garg
  • 10,649
  • 2
  • 7
  • 25