Skip to content

Commit e5356d2

Browse files
authored
Merge pull request #637 from janpieterz/patch-1
docs: Make the recommended install the main one
2 parents 669e86c + e022cde commit e5356d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ The CLI emulates commonly used capabilities of the Azure Static Web Apps cloud s
3535

3636
### Installing the CLI with `npm`, `yarn` or `pnpm`:
3737

38-
- To install the CLI globally, use:
38+
- To install the CLI in your project, use:
3939

4040
```bash
41-
npm install -g @azure/static-web-apps-cli
41+
npm install -D @azure/static-web-apps-cli
4242
```
4343

44-
> You can also install the SWA CLI inside a project (instead of globally) as a development dependency using `npm install -D @azure/static-web-apps-cli`. This is highly recommended.
44+
> You can also install the SWA CLI globally using `npm install -g @azure/static-web-apps-cli`.
4545
4646
### Basic usage
4747

0 commit comments

Comments
 (0)