HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

firebase — Test, manage, and deploy Firebase projects. More information: <https://github.com/firebase/firebase-

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandfirebasemanageclitestdeploy

Problem

How to use the firebase command: Test, manage, and deploy Firebase projects. More information: <https://github.com/firebase/firebase-tools>.

Solution

firebase — Test, manage, and deploy Firebase projects. More information: <https://github.com/firebase/firebase-tools>.

Log in to <https://console.firebase.google.com>:
firebase login


List existing Firebase projects:
firebase projects:list


Start an interactive wizard to create a Firebase project in the current directory:
firebase init


Deploy code and assets to the current Firebase project:
firebase deploy


Start a local server to statically host the current Firebase project's assets:
firebase serve


Start an interactive wizard to open one of many links of the current Firebase project in the default web browser:
firebase open

Code Snippets

Log in to <https://console.firebase.google.com>

firebase login

List existing Firebase projects

firebase projects:list

Start an interactive wizard to create a Firebase project in the current directory

firebase init

Deploy code and assets to the current Firebase project

firebase deploy

Start a local server to statically host the current Firebase project's assets

firebase serve

Context

tldr-pages: common/firebase

Revisions (0)

No revisions yet.