Skip to main content

Static Web Apps CLI

All-in-One Local Development Tool For Azure Static Web Apps

Install

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

Init

Setup your project
using swa init

Login

Authenticate with Azure services
using swa login

Start

Preview and debug your static web app
using swa start.

Deploy SWA (cloud)

Build/deploy to multiple environments
using swa deploy

Configure

Setup environment variables
and config settings.