# macOS Installation

Here is the installation of PowerShell for macOS.

---

## Installation Using Homebrew

```sh
brew install --cask powershell
```

## Verify the Installation

```sh
pwsh --version
```

Should get you an output similar to this one:

```
PowerShell 7.5.2
```

## Upgrade PowerShell

```sh
brew update
brew upgrade powershell
```