Question: the term 'ng' is not recognized as the name of a cmdlet in visual studio?
Answer: You just need to close the visual studio code and restart again. ... Instead of giving "ng serve" command in the Visual Studio code terminal, open angular app path in the command prompt(Run as Administrator).