OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add oguzhan18/angular-ecosystem-skills --skill angular-cli
ALWAYS use when working with Angular CLI, generating components, services, building applications, or workspace configuration in Angular projects.
npx skills add oguzhan18/angular-ecosystem-skills --skill angular-cli
Version: Angular 21 (2025) Tags: CLI, Generators, Build, Scaffolding
References: CLI Reference • Generators • Builders
This section documents recent version-specific API changes.
NEW: Control flow migration — ng g @angular/core:control-flow for @if/@for migration source
NEW: Signal input migration — ng g @angular/core:signal-input-migration for signal inputs source
NEW: Route lazy loading migration — ng g @angular/core:route-lazy-loading for standalone routes
NEW: Named workspaces — Multiple applications in single angular.json
NEW: esbuild by default — Faster builds with esbuild/Vite
# Migrate to control flow
ng g @angular/core:control-flow
# Migrate to signal inputs
ng g @angular/core:signal-input-migration
# Migrate to lazy loading routes
ng g @angular/core:route-lazy-loading# Add Angular Material
ng add @angular/material
# Add SSR
ng add @angular/ssr
# Add PWA
ng add @angular/pwa{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"my-app": {
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"standalone": true
}
}
}
}
}# Run custom builder
ng run my-app:build
# Run SSR
ng run my-app:serve-ssr
# Run prerender
ng run my-app:prerender# Set default style
ng config defaults.style=scss
# Enable analytics
ng analytics enable# Update packages
ng update
# Update specific package
ng update @angular/core# Production build
ng build --configuration=production
# Dev build with stats
ng build --stats-json# New project with standalone
ng new my-app --standalone# Generate functional guard
ng g g guards/auth --functional
# Generate functional interceptor
ng g interceptor my-interceptor --functional