How to Set Up Firebase in Flutter Without NPM or Crying (For Beginners in Windows)

So I come from complete android background working with only Java, Kotlin and nowadays flutter. Setting up firebase has been a complete headache, no clearcut tutorial or explanation. I don't also want to install node js (npm) in my potato pc as I will barely to never use that ever again. So searching on my own I found the below solution step by step. Hope some beginner will be helped by that.
Answer
⚠️ This guide is for developers who want to keep their Windows clean — no side hustle with NPM, no unnecessary Node.js setup, and no extra tech they'll barely use or never touch again.
🔥 Part 1: Firebase CLI Setup (No NPM, No Node, No BS)
Download the Firebase CLI
Go to: https://github.com/firebase/firebase-tools/releases
⚠️ Avoidfirebase-tools-instant-win.exe
. That version uses Firepit and will likely break stuff or throw confusing errors likeFormatException
orSyntaxError: Unexpected end of JSON
. Go forfirebase-tools-win.exe
for an easy life.Rename the file
Rename your downloaded file to:firebase.exe
Move it to a folder you control
Example path: C:\Users\<yourusername>\firebase\firebase.exe
Copy the path of the folder
Example: C:\Users\<yourusername>\firebase\
Add it to your Windows PATH
- Open Start Menu → search “environment variables”
- Click Environment Variables
- Under System Variables, select
Path
→ click Edit - Click New → paste the path from step 4
Test if it works
Open a new terminal window and run:firebase --version
If it shows a version number, you're golden.
If not… maybe scream into the void or talk to your favorite AI assistant.(Optional reset if you've failed before)
firebase logout
Now log in properly
firebase login
Confirm it's working
firebase projects:list
You should see your Firebase projects listed here. If not, something's off.
Part 2:🔥 Flutter + Firebase Setup (No NPM Required)
At this point, you can either:
Follow the official instructions shown in your Firebase Console (go to your project → click Add app → select Flutter → follow Step 2),
OR
Just follow these simplified, no-nonsense steps below:
Activate FlutterFire CLI
dart pub global activate flutterfire_cli
(Don’t ask why. Just trust the process.)
From your Flutter project root, run:
flutterfire configure --project=<YOUR_PROJECT_ID>
It’ll:
- Ask what platforms you’re targeting (Android, iOS, Web, etc.)
- Auto-generate
lib/firebase_options.dart
- Set everything up inside your Firebase Console
Follow what the terminal says
It’ll walk you through the rest — way better than Google Docs, tbh.
🗯 Final Words
📣 Dear Google,
Please write docs for actual humans, not only for engineers who graduated from Hogwarts.
We just want Firebase in our app without sacrificing our sanity. Thanks.
✅ You're now Firebase-powered.
❌ No NPM bloat.
🧼 System stays clean.
💯 Developers stay sane.