Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1'
### macOS

```bash
brew install azure/azd/azd
brew install --cask azure/azd/azd
```

> **Note:** If upgrading from a non-Homebrew installation, remove the existing `azd` binary first.
Expand Down
2 changes: 1 addition & 1 deletion cli/azd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func platformUpgradeText() string {
} else if runtime.GOOS == "darwin" {
switch installedBy {
case installer.InstallTypeBrew:
return "run:\nbrew uninstall azd && brew install azure/azd/azd"
return "run:\nbrew uninstall azd && brew install --cask azure/azd/azd"
case installer.InstallTypeSh:
//nolint:lll
return "run:\ncurl -fsSL https://aka.ms/install-azd.sh | bash\n\nIf the install script was run with custom parameters, ensure that the same parameters are used for the upgrade. For advanced install instructions, see: https://aka.ms/azd/upgrade/mac"
Expand Down
2 changes: 1 addition & 1 deletion cli/installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ See [MSI configuration](#msi-configuration) for advanced install scenarios.
#### Homebrew (recommended)

```bash
brew install azure/azd/azd
brew install --cask azure/azd/azd
```

If using `brew` to upgrade `azd` from a version not installed using `brew`, remove the existing version of `azd` using the uninstall script (if installed to the default location) or by deleting the `azd` binary manually.
Expand Down
Loading