Ionic commands not working on my windows 10

I have installed ionic framework globally through npm command. And when i am trying to use ionic commands any of the ionic command is not working the commands are just creating the new line with -------------------------------------------- and nothing then.