When I check the version of Node, it says
v8.0.0
but when I check the version of NPM, it says
bash: npm: command not found
Previously, my action was
npm install -g "@angular/cli"
That's when it consistently shows the npm: command not found message.
I tried searching for possible solutions but none worked like the brew and others.