# Installer static-web-apps-cli avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de static-web-apps-cli pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:static-web-apps-cli
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install static-web-apps-cli
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:static-web-apps-cli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.0.10
- **Résumé source:** SWA CLI serves as a local development tool for Azure Static Web Apps
- **Page d'accueil:** <https://azure.github.io/static-web-apps-cli/>
- **Dernière mise à jour:** 2026-07-21T10:16:44Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- swa (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.0.10
## Historique du projet et usages

Azure Static Web Apps CLI, usually invoked as `swa`, is Microsoft's local-development and deployment CLI for Azure Static Web Apps.

### Historique du projet

The official README describes SWA CLI as a local development tool for Azure Static Web Apps. It can serve static assets, proxy app dev servers and APIs, emulate authentication and authorization, emulate Static Web Apps configuration, and deploy to Azure Static Web Apps.

The official documentation site presents it as an all-in-one local development tool with install, init, login, start, deploy, and configuration workflows.

### Historique d'adoption

SWA CLI is packaged primarily through the JavaScript ecosystem as `@azure/static-web-apps-cli`, with Microsoft Learn documenting npm, Yarn, pnpm, and npx usage. The Homebrew package adds it to the macOS/Linux package-manager path for users who prefer system-level CLI installation.

Its adoption follows Azure Static Web Apps itself: developers use it when they need local emulation and deployment behavior close to the hosted Azure service, without wiring together separate static servers, Azure Functions tooling, and deployment commands by hand.

### Modes d'utilisation

Typical usage starts with `swa` or `swa init`, which creates a project configuration, then `swa start` for local emulation and `swa deploy` for cloud deployment.

The official config-file documentation says SWA CLI looks by default for `swa-cli.config.json` in the current directory, and that the file can contain one or more named project configurations.

### Pourquoi les passionnés de paquets s'y intéressent

SWA CLI matters to package nerds because it is a cloud vendor CLI distributed like an ordinary developer tool. It is available through npm-family package managers and Homebrew, wraps local emulation plus deployment, and uses a project-local JSON config file that can be committed with application code.

It is also an example of a CLI that bridges package-manager culture and cloud infrastructure: install a tool, run a local server, emulate platform features, then deploy to a managed cloud service.

### Chronologie

- 2024: Microsoft Learn install page documents current install paths and a 2.0.2 security-related upgrade requirement.
- 2025: Official Docusaurus documentation site lists the main SWA CLI workflows.
- 2026: GitHub repository page lists v2.0.9 as the latest release on April 21, 2026.

### Related projects

- Related tools and services include Azure Static Web Apps, Azure Functions Core Tools, npm, Yarn, pnpm, npx, and the Azure deployment workflow.
- The CLI works alongside `staticwebapp.config.json`, the runtime configuration file used by Azure Static Web Apps.

### Sources

- <https://azure.github.io/static-web-apps-cli/>
- <https://azure.github.io/static-web-apps-cli/docs/cli/swa-config/>
- <https://github.com/Azure/static-web-apps-cli#readme>
- <https://learn.microsoft.com/en-us/azure/static-web-apps/static-web-apps-cli-install>
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./swa-cli.config.json
- Windows: .\swa-cli.config.json

## Combined YAML source

View the package source record on GitHub. [combined/static-web-apps-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/static-web-apps-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
