From the course: Learning the Angular CLI
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using the CLI - Angular Tutorial
From the course: Learning the Angular CLI
Using the CLI
- [Instructor] Once you've installed the CLI you don't have to be in a particular directory in order to use the ng command. It's been added to your global path in order to make it easy for you to use it. Let's take a peek at all the options that are available to use by running simply ng. We see that we have commands to run a unit test, server application, create new applications, linting, generating blueprints and building our applications. We will be covering features of the CLI in detail. If you need help with a particular command say, creating a new application, use the --help flag. Let me clear my terminal and use ng new--help. And that will output all the configuration flags available to you for building your applications. Also, keep in mind that certain commands only work inside an Angular project. For instance, ng build--help will output an error here. And this is because I am not running this inside an Angular…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.