So, I was trying to install angular cli. Everything seemed fine till completion of process. But, atlast the command of ng -v is showing the command is not recognized.I want to install cli ASAP.Please clarify this anyone?? 
            Asked
            
        
        
            Active
            
        
            Viewed 185 times
        
    0
            
            
         
    
    
        Hardik Modha
        
- 12,098
- 3
- 36
- 40
 
    
    
        pallavi
        
- 1
- 
                    did you forget the `-g` tag when installing? `npm install @angular/cli -g`, may need sudo/admin – Z. Bagley Nov 21 '17 at 16:37
- 
                    1This is a duplicate question. See https://stackoverflow.com/questions/37991556/ng-is-not-recognized-as-an-internal-or-external-command – Brandon O'Dell Nov 21 '17 at 16:39
- 
                    3Possible duplicate of [ng is not recognized as an internal or external command](https://stackoverflow.com/questions/37991556/ng-is-not-recognized-as-an-internal-or-external-command) – Z. Bagley Nov 21 '17 at 16:54
1 Answers
0
            
            
        Try this:-
1) Install node.js and check and node -v in command prompt. (Node.js 
   through website).
2) npm install -g @angular/cli@latest (run in command prompt).
Refer this link for further help https://github.com/angular/angular-cli
3) Check node -version
4) Check npm -version
5) check ng -version
If already installed, then uninstall it and install again,
npm uninstall -g @angular/cli
npm cache clean
 
    
    
        Mahi
        
- 3,748
- 4
- 35
- 70