Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Firebase CLI (firebase-tools)

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?

like image 350
Yanni Avatar asked Dec 18 '19 07:12

Yanni


People also ask

How do I update firebase tools?

firebase -V So you can basically run npm i -g firebase-tools to update the version of your firebase-tools installation to the latest version.

How do I remove firebase tools?

Go to your Firebase Extensions dashboard, then on the installed extension instance's card, click Manage. At the bottom of the screen, click Uninstall extension. Review what will be deleted, then click Uninstall extension to confirm the deletion.


4 Answers

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

like image 188
douglas.iacovelli Avatar answered Oct 17 '22 06:10

douglas.iacovelli


Run:

npm uninstall -g firebase-tools
like image 45
Srinivas Avatar answered Oct 17 '22 05:10

Srinivas


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.

like image 7
leonbeckert Avatar answered Oct 17 '22 07:10

leonbeckert


if you install firebase like
curl -sL https://firebase.tools | bash

Just use this to uninstall.
curl -sL firebase.tools | uninstall=true bash

like image 5
yycking Avatar answered Oct 17 '22 07:10

yycking