I install Firebase CLI (firebase-tools) https://github.com/firebase/firebase-tools by this code:
curl -sL firebase.tools | bash
How to uninstall it totally?
You can type which firebase
on the command line and check the location. Then rm <location>
on mac the location is /usr/local/bin/firebase