-
Notifications
You must be signed in to change notification settings - Fork 125
Installing from a Git branch
Wassim Chegham edited this page May 9, 2022
·
1 revision
In order to try the latest alpha version of the Azure Static Web Apps CLI, we recommend installing them from GitHub:
- Go into your SWA project:
cd my-swa-app/
- Using either
npm
oryarn
to install the CLI locally:
- Install the CLI from the
main
branch:
npm install https://github.com/Azure/static-web-apps-cli.git#main
- Install the CLI from a different branch:
npm install https://github.com/Azure/static-web-apps-cli.git#BRANCH
Change
BRANCH
with the name of an existing branch!
- Use the binary installed at
./node_modules/.bin/swa
(or.\node_modules\.bin\swa
on Windows)
./node_modules/.bin/swa help
See the README file to learn about all the different ways to use the CLI.