Angular 6 References/ CLI

ng run

This is the documentation for Angular 6.
You can switch to the latest version Angular 10.
ng run [project]:[target] [--[argument]=[value]]
ng run [project]:[target]:[configuration] [--[argument]=[value]]

The main command to run architects.

In an architect section of each project in angular.json you can define build configurations.

An architect can contain any number of builds. A build defines name of builder, base options and any number of configurations.

  "projects": {
    "app": {
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
          "configurations": {
            "production": {


List of default builders and their options you can find in the section Builders.

These options defined in options and configurations sections of angular.json.

On ng run call you can override any builder's option:

ng run [project]:[target] --[argument]=[value]