Forem

Cover image for How to add Firebase CLI to your Flutter Project- Fast Steps
Chibueze  felix
Chibueze felix

Posted on • Edited on

1

How to add Firebase CLI to your Flutter Project- Fast Steps

First of all a quick disclaimer this will be quick and short as well directly targeted at macOS users.
What motivated me to do this because I needed a TLDR version of doing this and it took time and various tabs to achieve. So this might help and save you some time

Create and app on firebase enter your name of choice.

Add firebase to your PATH like so:
on your terminal enter nano ~/zshrc
add this to the list export PATH="$PATH":"$HOME/.pub-cache/bin" quit and save

Install firebase tool with command
on your terminal enter curl -sL firebase.tools | upgrade=true bash

Enter password(if any)
Login to firebase
on your terminal enter firebase login this open your browser and ask for access to your firebase account.

Activate firebase on your app. On the directory of your flutter project.
on your terminal enter flutter configure
This configures all requirement onto your app. Confirm installation with firebase --version

Add flutter_core package to you app.

Thats it. Short right?? Now you can use most firebase services such as Firebase app distribution, realtime database etc.

Connect with me on linkedIn and twitter 😋

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit