All About Firebase Cli






Install Firebase cli on Linux:


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


command to install the fire-base tools:


                 $ npm install -g firebase-tools 


                # add sudo if necessary


install firebase tools linux:


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




Check installation:


                $ firebase -V


Creating Cloud functions:


            

                firebase init functions


Login to firebase:


                firebase login



deploy functions:


            firebase deploy --only functions:helloWorld


Reviewing the logs:


            firebase functions:log