curl -sL https://firebase.tools | bash

Category: Firebase & Firestore

curl -sL https://firebase.tools | bash

Install the Firebase CLI via install script

Downloads and runs Firebase's official install script, which detects your operating system and sets up the firebase command without needing Node.js or npm. Piping a remote script into bash always carries risk, so review the script at firebase.tools first. On macOS, curl -sL https://firebase.tools | upgrade=true bash updates an existing install.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.