Reputation:
After installing angular, I tried the ng -v command though it keeps showing me the command is not found.
node vsn 12.9.1 npm vsn 6.10.2
I have tried reinstalling, and tried uninstalling angular.
/na
-bash: ng: command not found
Upvotes: 1
Views: 1118
Reputation: 10577
None of this helped me, at the end I had to use nvm as described here
Angular CLI ng command not found on Mac Os
Upvotes: 0
Reputation: 537
I had this issue a while back, I had installed and reinstalled multiple times. It turned out I wasn't running the CMD as administrator and it wouldn't let me use the angular CLI
*Solution was to set up and alias like so
alias ng="/Users/YourName/.npm-global/bin/ng"
Upvotes: 3