<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi" -->

---
title: Google Login and Firebase CLI 2.0.0 | daily.dev
description: Firebase announced Google Login as the new default authentication method for firebase.com accounts, adding two-factor authentication and account recovery via...
canonical: https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Google Login and Firebase CLI 2.0.0 | daily.dev
og:description: Firebase announced Google Login as the new default authentication method for firebase.com accounts, adding two-factor authentication and account recovery via...
og:url: https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi
og:image: https://api.daily.dev/og/posts/j0NancAgI.png
og:image:alt: Google Login and Firebase CLI 2.0.0
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Login and Firebase CLI 2.0.0

**[Firebase](https://daily.dev/sources/firebase-blog)** · 3 min read · 0 upvotes · 0 comments

## Summary

Firebase announced Google Login as the new default authentication method for firebase.com accounts, adding two-factor authentication and account recovery via Google. Alongside this, Firebase released CLI 2.0.0, adding a local static server command (firebase serve), direct database read/write commands (data:get, data:set, data:update, data:push, data:remove), and the ability to run CLI commands programmatically via the firebase-tools Node.js module.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://firebase.blog/posts/2015/10/google-login-and-firebase-cli-200_20>

## Questions this post answers

### How do I read and write data to my Firebase database directly from the command line?

Firebase CLI 2.0.0 introduced the data:get and data:set commands for this purpose. data:get retrieves data and can output to a file or the console as JSON, while data:set imports a JSON file to a specified database path, for example firebase data:set /users new-users.json. Additional commands data:update, data:push, and data:remove are also available.

_daily.dev surfaces CLI release notes like this for developers automating Firebase database workflows._

### How can I start a local server to test my Firebase Hosting content?

Run firebase serve from the Firebase CLI, introduced in version 2.0.0. This starts a static web server for app content that respects all configuration rules defined in firebase.json, letting developers preview hosting setups locally before deploying with firebase deploy.

_Developers evaluating hosting workflows track CLI updates like this one on daily.dev._

### Can I run Firebase CLI commands programmatically instead of through the terminal?

Yes, as of Firebase CLI 2.0.0, all CLI commands can be run programmatically by requiring the firebase-tools module in Node.js. For example, calling client.list().then(...) after requiring firebase-tools returns a list of Firebases for the account, and commands can also output JSON via a flag.

_Automating deployment scripts around tools like Firebase CLI is easier when developers follow updates via daily.dev._

---

Tags: [#nodejs](https://daily.dev/tags/nodejs), [#authentication](https://daily.dev/tags/authentication), [#cli](https://daily.dev/tags/cli), [#firebase](https://daily.dev/tags/firebase)

[View this post on daily.dev](https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Google Login and Firebase CLI 2.0.0","url":"https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi"},"datePublished":"2026-08-23T12:18:22.580Z","dateModified":"2026-08-23T12:33:24.289Z","description":"Firebase announced Google Login as the new default authentication method for firebase.com accounts, adding two-factor authentication and account recovery via...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Firebase","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Firebase","logo":"https://media.daily.dev/image/upload/s--i395oqZH--/f_auto,q_auto/v1787487448/logos/firebase-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/firebase-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"nodejs,authentication,cli,firebase","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Firebase","item":"https://daily.dev/sources/firebase-blog"},{"@type":"ListItem","position":3,"name":"Google Login and Firebase CLI 2.0.0"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/google-login-and-firebase-cli-2-0-0-j0nancagi#faq","mainEntity":[{"@type":"Question","name":"How do I read and write data to my Firebase database directly from the command line?","acceptedAnswer":{"@type":"Answer","text":"Firebase CLI 2.0.0 introduced the data:get and data:set commands for this purpose. data:get retrieves data and can output to a file or the console as JSON, while data:set imports a JSON file to a specified database path, for example firebase data:set /users new-users.json. Additional commands data:update, data:push, and data:remove are also available. daily.dev surfaces CLI release notes like this for developers automating Firebase database workflows."}},{"@type":"Question","name":"How can I start a local server to test my Firebase Hosting content?","acceptedAnswer":{"@type":"Answer","text":"Run firebase serve from the Firebase CLI, introduced in version 2.0.0. This starts a static web server for app content that respects all configuration rules defined in firebase.json, letting developers preview hosting setups locally before deploying with firebase deploy. Developers evaluating hosting workflows track CLI updates like this one on daily.dev."}},{"@type":"Question","name":"Can I run Firebase CLI commands programmatically instead of through the terminal?","acceptedAnswer":{"@type":"Answer","text":"Yes, as of Firebase CLI 2.0.0, all CLI commands can be run programmatically by requiring the firebase-tools module in Node.js. For example, calling client.list().then(...) after requiring firebase-tools returns a list of Firebases for the account, and commands can also output JSON via a flag. Automating deployment scripts around tools like Firebase CLI is easier when developers follow updates via daily.dev."}}]}
```

