Specs:
MacOS 10.12.6
Node.js v8.9.4
NPM 5.6.0
I'm new to programming (and stackoverflow). I installed Angular using the following command in the terminal: npm install -g @angular/cli. I ran into an EACCESS error but this resolved it. Initially I was able to run the ng command. But after closing and reopening the terminal, the "ng: command not found" error happened. I removed Angular and reinstalled it. But that didn't help.
Screenshot of the "ng: command does not exist" error
Screenshot of npm list -g --depth=0
Errors in uninstalling Angular part 1