CORE ANGULAR • LESSON 1 OF 23

Angular 22 Setup and Project Structure

What you will learn

Create a strict standalone Angular 22 application and understand its files.

  • Angular 22 is the current active major release. This course targets @angular/core 22.2.3 and CLI 22.2.2.
  • Angular 22.0 requires a compatible Node release. The official compatibility table lists Node 22.22.3, 24.15.0, or 26.0.0 families, and TypeScript 6.0.x.
  • The CLI creates standalone components by default. A standalone application bootstraps a root component without requiring an AppModule.
  • Keep application code in src/app, static files in public, global styles in src/styles.css, and build configuration in angular.json.

How it works

1Install compatible Node
2Create strict workspace
3Bootstrap standalone root
4Run development server

Expected result

The development server prints its local URL and the browser displays Angular 22 practice.

Common mistakes

Do not install an old global CLI and assume it matches the project. Do not add NgModule boilerplate to a new standalone application. Never commit node_modules.

Read the official Angular guide →