firebase version is not updating through <npm install -g firebase-tools>

Farrukh Hanif picture Farrukh Hanif · Aug 5, 2016 · Viewed 14.6k times · Source

i am windows user and trying to update firebase version using npm install -g firebase-tools but when i run firebase --version it shows the same version. I also run npm uninstall firebase --save and check firebase --version it shows same. what should i do to update my firebase version?

Answer

Alan picture Alan · Sep 28, 2017

npm update -g firebase-tools

or

npm install -g [email protected] to install a specific version

And make sure to restart your terminal/IDE otherwise, it won't take effect.