Problem : angular cli command ng is not working
C:\Windows\System32>ng
'ng' is not recognized as an internal or external command,
operable program or batch file.
Solution :
update .npmrc file at C:\Users\{USERNAME}
with the below line
prefix=${APPDATA}\npm