Ask Your Question

Revision history [back]

This error message typically means that the command prompt or terminal is unable to find the Firebase command line interface (CLI). The Firebase CLI needs to be installed globally in order to run commands from any directory in the system.

To install Firebase CLI, follow the steps below:

  1. Install Node.js from the official website: https://nodejs.org
  2. Open the command prompt or terminal
  3. Enter the following command:
npm install -g firebase-tools
  1. This will install the Firebase CLI globally
  2. Verify the installation by entering the following command:
firebase --version
  1. If the installation was successful, the CLI version should be displayed

After installing Firebase CLI, you should be able to run any Firebase command without encountering the aforementioned error message.