Generating a New Project

Let's create our first Angular project using the Angular CLI and see how the photo gallery application works.

Generating a new project

Angular supports many powerful tools like server-side compilation and service workers. Using these advanced tools requires a specific project structure and build chain. Keeping track of all these details while simultaneously developing new features can be a thankless task.

Fortunately, the Angular team has bundled up all their best practices into a command-line generator that allows us to easily create new components while still adhering to best practices. Install it globally with: npm install -g @angular/cli. You’ll use it throughout the Angular section of this course.

Get hands-on with 1400+ tech skills courses.