'ionic' is not recognized as an internal or external

Hi,
I am getting error

‘ionic’ is not recognized as an internal or external command,
operable program or batch file.

tried all ionic with g nothing helps on windows.

Did you add Ionic cmd file location to Windows Environment Path?

This is a correct location in my Win7 system: c:\Programiranje\NodeJS\ionic.cmd

Or take a look here: http://www.gajotres.net/ionic-framework-tutorial-1-installation/

Have you been able to install and use other nodejs commands globally installed such as bower or gulp?

i have installed the ionic2 framework(or so it says) and then i tried to run the command $ ionic start eventTutorial blank --v2 but it pops with an error that íonic’ is not recognised as an internal or external command. I have run npm cache clean and re-installed using npm install -g ionic in admin mode , still doesnt work.

Thoughts?

I’m using windows 10 for developing, I solved the problem by adding the npm global packages folder to the environment variable Path

%USERPROFILE%\AppData\Roaming\npm

5 Likes

Thank you so much batout, it worked!

Please, mine is not working. and it is slowing down my app development. how do i go about it? i am not familiar with environment variable.

1 Like

do you get the solution for this?