stackoverflow

View on StackOverflow

Here are the steps, in detail …

Verify the install

# this should show the versions
node -v  
npm -v  
# this should show npm and ng with no errors
npm list -g --depth=0

Hope it works for you, it worked for me!