How can I reset the default project hosting with firebase?

Quddus George picture Quddus George · Sep 15, 2018 · Viewed 9.7k times · Source

I have been using firebase to test apps. I set a certain project as the default. Now I would like to deploy a different project but do not understand how to remove the previous project as a default. (I have almost no experience using the terminal).

Answer

Frank van Puffelen picture Frank van Puffelen · Sep 15, 2018

You can change the default project that the Firebase CLI uses in a directory by running:

firebase use --add

Then in the list of projects, select your project. And then finally for the alias name enter default (or whatever you entered before).

For a full list of the commands, have a look at the reference documentation of the Firebase CLI.