# @angular/pwa

> PWA schematics for Angular

Latest version **22.1.8** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @angular/pwa
pnpm add @angular/pwa
yarn add @angular/pwa
bun add @angular/pwa
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 22.1.8 |
| Published | 2026-09-10 |
| First published | 2018-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^22.22.3 \|\| ^24.15.0 \|\| >=26.0.0 |
| Dependencies | 3 |
| Unpacked size | 64.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27021 |
| Author | Angular Authors |
| Maintainers | angular, google-wombot |
| Keywords | Angular CLI, Angular DevKit, angular, blueprints, code generation, devkit, schematics, sdk |

## Links

- npm: https://www.npmjs.com/package/@angular/pwa
- Repository: https://github.com/angular/angular-cli
- Issues: https://github.com/angular/angular-cli/issues
- npm.io page: https://npm.io/package/@angular/pwa

## Dependencies (3)

- [@schematics/angular](https://npm.io/package/@schematics/angular.md) 22.1.8
- [@angular-devkit/schematics](https://npm.io/package/@angular-devkit/schematics.md) 22.1.8
- [parse5-html-rewriting-stream](https://npm.io/package/parse5-html-rewriting-stream.md) 8.0.1

## Alternatives

- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads
- [@oridune/validator](https://npm.io/package/@oridune/validator.md) — 16 weekly downloads

## Recent versions

- 22.1.8 (latest) — 2026-09-10
- 22.2.0-next.7 (next) — 2026-09-10
- 21.2.24 (v21-lts) — 2026-09-10
- 20.3.37 (v20-lts) — 2026-09-10
- 19.2.27 (v19-lts) — 2026-06-02
- 18.2.21 (v18-lts) — 2025-09-10
- 17.3.17 (v17-lts) — 2025-04-30
- 16.2.16 (v16-lts) — 2024-09-18
- 15.2.11 (v15-lts) — 2024-03-25
- 14.2.13 (v14-lts) — 2023-10-05
- 13.3.11 (v13-lts) — 2023-03-16
- 12.2.18 (v12-lts) — 2022-07-21
- 0.1102.19 (v11-lts) — 2022-03-31
- 0.1002.4 (v10-lts) — 2021-12-16
- 0.901.15 (v9-lts) — 2021-02-25
- … 979 more at https://npm.io/package/@angular/pwa/versions

## README

# `@angular/pwa`

This is a [schematic](https://angular.dev/tools/cli/schematics) for adding
[Progressive Web App](https://web.dev/progressive-web-apps/) support to an Angular project. Run the
schematic with the [Angular CLI](https://angular.dev/tools/cli):

```shell
ng add @angular/pwa --project <project-name>
```

Executing the command mentioned above will perform the following actions:

1. Adds [`@angular/service-worker`](https://npmjs.com/@angular/service-worker) as a dependency to your project.
1. Enables service worker builds in the Angular CLI.
1. Imports and registers the service worker in the application module.
1. Updates the `index.html` file to inlclude a link to add the [manifest.webmanifest](https://developer.mozilla.org/en-US/docs/Web/Manifest) file.
1. Installs icon files to support the installed Progressive Web App (PWA).
1. Creates the service worker configuration file called `ngsw-config.json`, specifying caching behaviors and other settings.

See [Getting started with service workers](https://angular.dev/ecosystem/service-workers/getting-started)
for more information.

---
_Source: https://npm.io/package/@angular/pwa · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
