- Get link
- X
- Other Apps
Source: firebase.google.com |
Introduction:
Firebase is a mobile and web application development platform developed by Firebase, Inc. in 2011, then acquired by Google in 2014. It is one of the most popular platforms nowadays for developing Android applications. It is quite easy to, use with documentation for reference included on its website along with examples.
Firebase requires a browser to interact with. But, for advanced application development, it has a Command Line Interface (CLI) called Firebase CLI. It can be installed on your system, and then have to be used with your system's command line tool, such as Command Prompt in Windows, and Terminal in Linux and Mac.
Installing in Windows:
To install Firebase CLI, just follow the steps below:
- You must have installed Node.js and npm on your Windows system. To install refer the video below:
- Then type the following in your Command Prompt to install Firebase CLI: npm install -g firebase-tools
- That is it. You are all set. To update the CLI, you can run the above command again when an update is available.
Note: Node.js and npm must be to the latest version to install firebase.
Installing on Mac or Linux:
- Same as the above, install Node.js and npm in Linux using the reference video below:
- Then again type the following on your Terminal to install Firebase CLI: sudo npm install -g firebase-tools OR sudo npm install -g firebase-cli
- That is it you are all set.
Setting up Firebase:
Firebase needs to be set up and connect to your firebase account to utilize it. The following steps show you how to do so:
- In the installing firebase, we used a -g flag so that npm installs firebase path globally on our computer.
- Open up your command line and type: firebase login
- This will open up your default web browser and will prompt to login with your google account that is connected to firebase.
- Select the account that is connected to firebase.
- Allow firebase to gain the requested permissions.
- You will see a screen will show successfully log in.
- Close your browser or that tab and return to Terminal, there you will get to see your email id that it has been login.
- Now, you are ready to go for creating a firebase application.
Video Reference:
The following video shows you the complete process of installing firebase CLI:
Conclusion:
Hope you got an idea how to install and setup firebase on your computer. If you have any problems, let me know in the comment section below.
Comments
Post a Comment