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

i used the command npm install –g appium to install appium. To verify if Appium is installed successfully, open Command Prompt and typed appium. i got the this
‘appium’ is not recognized as an internal or external command, operable program or batch file. please help me

Facing the same issue as well.