0
votes

I'm trying to install Angular through CLI. Firstly I install node js v12.18.2 and npm version v6.14.5. I'm able to run a command on command prompt to create the angular app but when I'm trying to run the command to create angular app on the VS code terminal it is showing an error:

'ng' is not recognized as an internal or external command, operable program or batch file.

Console showing ng serve

1
Was there meant to be an image in your question? It wasn't included properly so I've removed the text about the image description, but you can edit your question to add an image if you want to. - Tim
Have you restarted VS-Code after installtion of @angular/cli? Also what OS do you use and what terminal (cmd, powershell, etc.)? - kai
@kai yeah i restarted VS code. i'm using Windows 7 32bit. - Shivani Goyal
@Tim i didn't have 10 reputations on my account that's why image is not visible only URL will be there. - Shivani Goyal
Thanks for adding the URL, I've added the image for you now. - Tim

1 Answers

0
votes

Run the below command.

npm install -g @angular/cli@latest