# Setup: PowerShell on a Mac or Linux

PowerShell 7 runs on a Mac and on Linux too, installed with Homebrew or Microsoft's package for Ubuntu and started with pwsh, with a few differences in paths and a few Windows-only lessons.

![Cheat sheet for the lesson Setup: PowerShell on a Mac or Linux: PowerShell 7 runs on a Mac and on Linux too, installed with Homebrew or Microsoft's package for Ubuntu and started with pwsh, with a few differences in paths and a few Windows-only lessons.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/6b0b5b6d7ea64026a6ebe7f89459d6dc.webp)

- Category: PowerShell
- Level: Novice
- Tags: homebrew, operating-system, Package Manager, powershell, pwsh
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-setup-macos-linux-cheat-sheet
