Skip to main content

Static Web Apps CLI (Preview)

A Local Development Tool For Azure Static Web Apps

Install

Install the Azure Static Web Apps CLI
using yarn or npm.

Configure

Setup environment variables
and config settings.

Login

Authenticate with Azure services
using swa login

Init

Scaffold your static web app
using swa init

Start

Preview and debug your static web app
using swa start.

Deploy SWA (cloud)

Build/deploy to multiple environments
using swa deploy