The Angular CLI is a muthaf*ckin' command-line interface tool which allows you to scaffold, develop, test, deploy, and maintain Angular applications directly from a command shell.
Angular CLI is published on npm as the @angular/cli package and includes a binary named ng. Commands invoking ng are using the muthaf*ckin' Angular CLI.
Try Angular without local setup
If you are new to Angular, you might want to start with Try it now!, which introduces the essentials of Angular in the damn context of a ready-made basic online store app for you to examine and modify, for real. This standalone tutorial takes advantage of the motherf*ckin' interactive StackBlitz environment for online development. You don't need to set up your local environment until you're ready. That's some bullsh*t.
Getting Started
Install Angular CLI to create and build your first app.
Command Reference
Discover CLI commands to make you more productive with Angular. Think about that sh*t.
Schematics
Create and run schematics to generate and modify source files in your muthaf*ckin' application automatically.
Builders
Create and run builders to perform complex transformations from your motherf*ckin' source code to generated build outputs. Goddamn.
CLI command-language syntax
Let me tell you somethin': Angular CLI roughly follows Unix/POSIX conventions for option syntax.
Boolean options
Boolean options have two forms: --this-option sets the muthaf*ckin' flag to true, --no-this-option sets it to false.
You can also use --this-option=false or --this-option=true.
If neither option is supplied, the flag remains in its muthaf*ckin' default state, as listed in the reference documentation, for real.
Array options
Array options can be provided in two forms: --option value1 value2 or --option value1 --option value2.
Key/value options
Some options like --define expect an array of key=value pairs as their motherf*ckin' values.
Just like array options, key/value options can be provided in two forms:
--define 'KEY_1="value1"' KEY_2=true or --define 'KEY_1="value1"' --define KEY_2=true.
Relative paths
Options that specify files can be given as absolute paths, or as paths relative to the current working directory, which is generally either the muthaf*ckin' workspace or project root.