For the complete documentation index, see llms.txt. This page is also available as Markdown.

Switching Environments

When you are ready to deploy to production all it takes is an environment switch.

firebase use production; # switches all future firebase commands to production
firebase deploy

Or use the -P flag

firebase -P ${REACT_APP}-production deploy; # Does not switch default environment but still deploys to production

Last updated

Was this helpful?