How to uninstall Firebase CLI (firebase-tools)
16,402
Solution 1
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
Solution 2
Run:
npm uninstall -g firebase-tools
Solution 3
Just for people who installed firebase via
npm install -g firebase-tools
typing which firebase
and rm <location>
as in the first answer will not uninstall all components.
You should uninstall via
npm uninstall -g firebase-tools
as recommended in the second answer.
Author by
Yanni
Updated on June 08, 2022Comments
-
Yanni about 2 years
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?
-
Yanni over 4 yearsThanks. I can find it. It's 109.3 MB. Can this way remove firebase totally?
-
GorvGoyl over 2 yearsTo actually delete:
sudo rm -rf /usr/local/bin/firebase
-
WhooNo about 2 yearssee below for a better method for those who installed with npm install -g firebase-tools. Short answer: npm uninstall -g firebase-tools