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

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 Likes

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

6 Likes