How to Deploy an App to Firebase With Angular CLI

, , Comments Off on How to Deploy an App to Firebase With Angular CLI

Angular CLI is a command-line interface for Angular and one of the easiest ways to get your app started. The beauty of using Angular CLI is that it lets you focus on your code, without having to worry about the structure of your application, since all the necessary files are generated for you.

It is very easy to create production-ready applications with Angular CLI. On the other hand, Firebase makes it fast to host applications. In addition, Firebase has a lot of features and a free plan that lets you experiment with the platform without being tied to a paid plan.

The free plan has the following features:

  • A/B testing
  • analytics
  • app indexing
  • authentication
  • cloud messaging
  • crash analytics
  • invites
  • performance monitoring
  • predictions


In order to run Angular CLI, you must have Node.js 6.9 and NPM 3 or higher installed on your system. If you don’t have Node.js installed, please visit the Node.js website to find instructions on how to install Node.js on your operating system.

You should also have a basic understanding of the following:

  • object-oriented programming

  • JavaScript or TypeScript

Installing Angular CLI

Installing Angular CLI is as easy as:

npm install -g @angular/cli

Read full tutorial at code.tutsplus