First, you need to install Firebase tools. Simply, run the commands below:
Npm Package manager
npm install -g firebase-tools
or Yarn package manager
yarn add firebase-tools
To configure your application to be ready to deploy you need to run the following in your app’s root directory:
firebase init
finally, by running the following command you can deploy your application
firebase deploy