check if firebase cli is installed code example
Example 1: firebase cli windows
npm install -g firebase-tools
Example 2: firebase only hosting command
firebase deploy --only hosting
npm install -g firebase-tools
firebase deploy --only hosting