question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase command not found

See original GitHub issue

Hey!

I’m new to Firebase, and tried to deploy my app. but I always get this error : -bash: firebase: command not found I tried installing with npm install -g firebase-tools a

aswel as npm install --global firebase-tools

and their corresponding sudocommand.

Any ideas on how to fix this?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:27

github_iconTop GitHub Comments

474reactions
durulcommented, May 15, 2017

Run code below with terminal,

alias firebase="`npm config get prefix`/bin/firebase"
20reactions
hoobear15commented, Jan 17, 2018

@durul This saved my life after about 40 ridiculous minutes - Worked like a charm!

Read more comments on GitHub >

github_iconTop Results From Across the Web

firebase-tools "-bash: firebase: command not found"
Under "System Variables", find the PATH variable, select it, and click "Edit". Click "New" and add the path found with the "npm get...
Read more >
firebase: command not found error [Solved] | bobbyhadz
To solve the error "firebase: command not found", install the firebase cli package globally by running npm install -g firebase-tools and restart your...
Read more >
Firebase CLI reference
Emulator Suite · Authentication · Realtime Database · Firestore · Storage · ML · Hosting · Cloud Functions.
Read more >
bash: firebase: command not found – Windows
A resolution for when trying to install Firebase using npm in Windows, but the error "-bash: firebase: command not found" appears.
Read more >
firebase command not found - Google Groups
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group. To unsubscribe from this group and stop...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found