</>
Skip to content
Angular lessons (4/43)

Angular — Installation

Requirements

  • Node.js 18+
  • npm 9+
  • Angular CLI

Install Angular CLI

npm install -g @angular/cli

Verify Installation

ng version

Create Workspace

ng new project-name

Options

ng new my-app --routing
ng new my-app --style=scss
ng new my-app --skip-tests
ng new my-app --standalone

IDE Setup

VS Code Extensions

  • Angular Language Service
  • Angular Snippets
  • Prettier

Editor Config

// .editorconfig
{
  "indent_style": "space",
  "indent_size": 2
}

Environment Variables

// environments/environment.ts
export const environment = {
  production: false,
  apiUrl: 'http://localhost:3000'
};

Mini Practice

  1. Install Angular CLI globally
  2. Create project with routing
  3. Configure SCSS
  4. Set up environment variables

Up Next

Continue with CLI — Angular CLI commands.

Related Topics

Frequently Asked Questions about Installation

What is Installation in Angular?

Installation is a fundamental concept in Angular. This lesson explains it step by step with clear examples, making it easy for beginners to understand.

How do I learn Installation?

Start by reading the explanation above, then try the code examples. Practice by modifying the examples and experimenting with different values. Hands-on practice is the best way to learn Installation.

Why is Installation important in Angular?

Installation is essential for Angular development. Understanding this concept will help you write better code and solve real-world problems more effectively.