npm install -g firebase-tools

Category: Firebase & Firestore

npm install -g firebase-tools

Install the Firebase CLI globally

Installs firebase-tools, the official Firebase command-line tool, as a global npm package so the firebase command works anywhere. Requires Node.js and npm. Run firebase --version afterward to confirm the install, then firebase login to authenticate.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.