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.

Share:
16,402
Yanni
Author by

Yanni

Updated on June 08, 2022

Comments

  • Yanni
    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
    Yanni over 4 years
    Thanks. I can find it. It's 109.3 MB. Can this way remove firebase totally?
  • GorvGoyl
    GorvGoyl over 2 years
    To actually delete: sudo rm -rf /usr/local/bin/firebase
  • WhooNo
    WhooNo about 2 years
    see below for a better method for those who installed with npm install -g firebase-tools. Short answer: npm uninstall -g firebase-tools