Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 210
Farrukh Hanif Avatar asked Aug 05 '16 04:08

Farrukh Hanif


2 Answers

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.

like image 168
Alan Avatar answered Oct 02 '22 05:10

Alan


Have you tried npm update -g firebase-tools? This worked for me.

like image 33
Pramesh Bajracharya Avatar answered Oct 02 '22 05:10

Pramesh Bajracharya