Complete Angular development environment with CLI, TypeScript, and modern tooling
This development container provides a complete Angular development environment with:
- ✅ Node.js 20 LTS
- ✅ Angular CLI latest version
- ✅ TypeScript support
- ✅ ESLint and Prettier
- ✅ Hot reload development server
- ✅ Angular Material ready
-
Open in VS Code
code . -
Reopen in Container
- Press
F1→Dev Containers: Reopen in Container
- Press
-
Create your first Angular app
ng new my-app cd my-app ng serve --host 0.0.0.0 -
Access your app
- Open browser at
http://localhost:4200
- Open browser at
- 📦 Node.js 20 - Latest LTS version
- 🔧 npm - Package manager
- 🧶 yarn - Alternative package manager
🅰️ Angular CLI - Official Angular tooling- 📘 TypeScript - Type-safe JavaScript
- 🏗️ Angular DevKit - Build tools
- ✨ ESLint - JavaScript/TypeScript linter
- 💅 Prettier - Code formatter
angular.ng-template- Angular language servicejohnpapa.angular2- Angular snippetscyrilletuzi.angular-schematics- Angular schematicsdbaeumer.vscode-eslint- ESLint integrationesbenp.prettier-vscode- Prettier formatternrwl.angular-console- Angular Consolems-vscode.vscode-typescript-next- TypeScript support
- base - Node.js 20
- build-tools - npm, yarn
- angular-cli - Angular CLI, TypeScript
- dev-tools - Linting, formatting
- tools - Additional utilities
- development - Dev environment
- builder - Build stage
- production - Nginx runtime
# New Angular application
ng new my-app
# With routing
ng new my-app --routing
# With SCSS
ng new my-app --style=scss
# Standalone components (Angular 15+)
ng new my-app --standalone# Start dev server
ng serve --host 0.0.0.0
# Start with specific port
ng serve --port 4300 --host 0.0.0.0
# Build for production
ng build --configuration production
# Run tests
ng test
# Run e2e tests
ng e2e
# Generate code coverage
ng test --code-coverage# Component
ng generate component my-component
ng g c my-component
# Service
ng generate service my-service
ng g s my-service
# Module
ng generate module my-module
ng g m my-module
# Directive
ng generate directive my-directive
# Pipe
ng generate pipe my-pipe
# Guard
ng generate guard my-guard
# Interface
ng generate interface my-interface# Angular Material
ng add @angular/material
# Angular PWA
ng add @angular/pwa
# Angular Universal (SSR)
ng add @nguniversal/express-engine
# NgRx (State Management)
ng add @ngrx/store
ng add @ngrx/effects
# Tailwind CSS
ng add @angular/tailwindcss# Angular Material
ng add @angular/material
# PrimeNG
npm install primeng primeicons
# NGX-Bootstrap
ng add ngx-bootstrap
# Angular Fire (Firebase)
ng add @angular/fire
# Apollo GraphQL
ng add apollo-angular
# NgRx
ng add @ngrx/store @ngrx/effects @ngrx/store-devtools
# RxJS Utilities
npm install lodash-es
npm install -D @types/lodash-es# Lint code
ng lint
# Format code
npx prettier --write .
# Type check
npx tsc --noEmit
# Update Angular
ng update @angular/cli @angular/core# Unit tests
ng test
# E2E tests
ng e2e
# Test with coverage
ng test --code-coverage --watch=false
# Test specific file
ng test --include='**/*.spec.ts'my-app/
├── .angular/
├── .vscode/
├── src/
│ ├── app/
│ │ ├── app.component.ts
│ │ ├── app.component.html
│ │ ├── app.component.scss
│ │ └── app.module.ts
│ ├── assets/
│ ├── environments/
│ └── index.html
├── angular.json
├── package.json
└── tsconfig.json
Press F5 to launch Chrome debugger with your Angular app.
- 4200 - Angular dev server default
Happy Coding! 🎉