Skip to main content

Complete Guide to install Firebase CLI (Command Line Interface)

Featured image for displaying firebase website and installing firebase CLI, the steps are mentioned as under
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:
  1. You must have installed Node.js and npm on your Windows system. To install refer the video below:
  1. Then type the following in your Command Prompt to install Firebase CLI: npm install -g firebase-tools
  2. 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:

  1. Same as the above, install Node.js and npm in Linux using the reference video below: 
  2. 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
  3. 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:
  1. In the installing firebase, we used a -g flag so that npm installs firebase path globally on our computer.
  2. Open up your command line and type: firebase login
  3. This will open up your default web browser and will prompt to login with your google account that is connected to firebase.
  4. Select the account that is connected to firebase.
  5. Allow firebase to gain the requested permissions.
  6. You will see a screen will show successfully log in.
  7. Close your browser or that tab and return to Terminal, there you will get to see your email id that it has been login.
  8. 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

Popular posts from this blog

Creating a Web Browser With Integrated Chromium using C#

Final Output Introduction: In this post, we shall start a project to build a C# application integrated with Chromium in Visual Studio. I shall be using Visual Studio Express For Windows Desktop 2013. But the minimum requirements are mentioned below. We shall create a Windows Forms C# project from scratch and integrate Chromium Embedded Framework (CEF) in our application, basic navigation options and much more. Minimum Requirements and Prerequisites: Visual Studio 2012 or Higher that supports NuGet Package Manager. A decent internet connection. Basic Knowledge of C#. Knowlege in using Windows efficiently. Creating A Visual Studio Project: First, create a Visual Studio C# Project through File > New Project > Installed > Visual C# > Windows > Windows Forms . Name the file whatever you want, for example ' Web Browser '. New Project Customising the Form: Now customize the main form by changing its  Properties  like Text to 'Web...

How to start programming with JavaScript? Get Started with JavaScript!

Introduction: JavaScript is of-course a programming language. It can be called the 'programming language of the web' as it is one of the core three technologies for Web Development (other than HTML and CSS ). Before you start programming with JavaScript, you have to know what JavaScript is. See also: Basics of Programming Languages and Introduction to Front End Development . Requirements for this blog post: Minimum knowledge of programming terms: Intermediate . Minimum knowledge of JavaScript: None/Beginner . Some JavaScript Characteristics: JavaScript is a high-level , interpreted , dynamic and weakly-typed programming language. It is an object-oriented language like many high-level programming languages. It is a functional language , here function is considered to be an object. The term Vanilla JavaScipt is often used to refer JavaScript with any external frameworks or libraries. Best Free Resources to get started with JavaScript: After searchi...