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 sam
These days if you're on an older version, and you check the version of firebase-tools
, by running:
firebase -V
along with the version of firebase-tools
that you're on, it also gives you a messages, something like this:
So you can basically run
npm i -g firebase-tools
to update the version of yourfirebase-tools
installation to the latest version.
Hope this helps :)