Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

firebase-tools

1.1.0 • Public • Published

firebase-tools

These are the Firebase Command Line Tools. They can be used to:

  • Administer your Firebase account
  • Interact with Firebase Hosting, our product to host your HTML, JS, images, etc.

For a quick start guide, see https://www.firebase.com/docs/hosting.html

Installation

To install, first you'll need to sign up for a Firebase account and have installed Node.js and npm. Then run

npm install -g firebase-tools

This will install the globally accessible command firebase

Commands

The command firebase --help lists the available commands and firebase <command> --help shows more details.

Usage: firebase <command>
 
  Available commands are:
 
  bootstrap
    Creates a new Firebase powered app from a prebuilt template to quickly
    get a project up and running. This creates a new folder and prompts
    you through all the required settings.
 
  deploy
    Deploys the current app to Firebase Hosting and creates your subdomain on
    firebaseapp.com if it doesn't exist already.
 
  init
    Initializes an existing Firebase app in the current directory and prompts
    you through configuring it for firebaseapp.com.
 
  open
    Opens the URL of the current Firebase app in a browser.
 
  list
    Lists the Firebases available to the currently logged in user.
    
  delete-site
    Deletes the current app from Firebase Hosting and displays a
    'Site not Found' page as if the site had never been deployed to.
 
  login
    Logs the user into Firebase. All commands that require login will prompt
    you if you're not currently logged in.
 
  logout
    Logs the user out of Firebase.
 
  -h, --help
    Shows this help screen. Use `firebase <command> --help` for more
    detailed help instructions.
 
  -v, --version
    Displays the current version.
 
  -s, --silent
    Silent mode for scripting - commands will error with non-zero status code
    instead of waiting for prompt if not enough information supplied.

Credit

Inspired by Luke Vivier's Firebase command line tools.

License

MIT

Install

npm i [email protected]

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar