Fix : ng is not recognized as an internal or external command

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome in my channel computer programming and today i'm going to show you how to fix ngs not recognized as internal or external command when you type ng and their commands like the version of the ng so first of all install uh npm angular cli version so just you can type in your command prompt that is npm space install space dash g and add the rate of angular oblique cli okay so just type it cli if you type that cli that is not recognize that package is not ins uh available so cli in the form of uh it's not caps in the small letters so just type it again npm install dash g at the right of angular and the lowest was a small caps in of the cli so just install the angular cli version first of all into your computer after that after uh installing your npm you can go to the root directory of npm that is available on your system so in your system app data folder so just type that again if ng is not recognized as internal directional command because your path is not set so just go to the system control panel system and advanced system and environment variable here you can see that the path and the computer specification where your system32 and command.exe file is there so just edit your path if it is path is variable is not there just create new okay and the variable name is the path and [Music] and the path is just you can see users through your username so uh app data folder that is the hidden data folder so just show your hidden items and after that you can select npm and select that part from your url of your window url and just paste under the variable name so you can see that in the system variable it's not uh change but in the variable for the turn is the changed okay so after that click on ok button and also restart your computer okay so just restart your computer after restart your computer you can see ng is recognized very well so just type in your command prompt ng-v and you can see your ng is available so thank you guys for watching this video and keep watching all other videos which is related to computer programming and computer troubleshooting thank you very much
Info
Channel: Computer Programming
Views: 74,242
Rating: undefined out of 5
Keywords: ng, npm, angular, package, node js, node js package, error, exception, command prompt, path variable, command prompt ng, fix error
Id: JV4EUBD9u-0
Channel Id: undefined
Length: 3min 24sec (204 seconds)
Published: Mon Feb 22 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.