Bash: ionic: command not found after unsuccessful update of Ionic CLI


#1

Hello after running ionic cordova build --release android and after unsuccessful update Ionic CLI message bash: ionic: command not found has appeared. I tried reinstalling node and reinstalling ionic but problem still persist.

Screenshot_ionic


#2

I have solution for this, i just went to User/.ionic folder and removed all files there then installed ionic again by using npm install -g ionic