ng deploy

From Get docs
< CLI Overview and Command ReferenceAngular/docs/10/cli/deploy

Invokes the deploy builder for a specified project or for the default project in the workspace.

ng deploy <project> [options]


The command takes an optional project name, as specified in the projects section of the angular.json workspace configuration file. When a project name is not supplied, executes the deploy builder for the default project.

To use the ng deploy command, use ng add to add a package that implements deployment capabilities to your favorite platform. Adding the package automatically updates your workspace configuration, adding a deployment CLI builder. For example:

"projects": {
     "my-project": {
        "architect": {
            "deploy": {
                "builder": "@angular/fire:deploy",
                "options": {}


Argument Description
<project> The name of the project to deploy.


Option Description

A named build target, as specified in the "configurations" section of angular.json. Each named target is accompanied by a configuration of option defaults for that target.

Aliases: -c


Shows a help message for this command in the console.

Default: false

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.