---
title: "How to Install PowerShell 7 on Windows 11 and Windows 10"
id: "20106"
type: "post"
slug: "powershell-7-install-windows"
published_at: "2026-11-07T07:00:00+00:00"
modified_at: "2026-11-07T07:00:00+00:00"
url: "https://aanctech.com/powershell-7-install-windows/"
markdown_url: "https://aanctech.com/powershell-7-install-windows.md"
excerpt: "Install the latest PowerShell 7 on Windows with winget, the Microsoft Store or the MSI installer, and make it your default in Windows Terminal."
taxonomy_category:
  - "PowerShell"
taxonomy_post_tag:
  - "Command Line"
  - "PowerShell 7"
  - "Windows Terminal"
  - "winget"
---

[https://www.youtube.com/watch?v=OeZodROX6-s](https://www.youtube.com/watch?v=OeZodROX6-s)

[▶ Watch the video on YouTube](https://www.youtube.com/watch?v=OeZodROX6-s)

Windows comes with **Windows PowerShell 5.1**, which no longer gets new features. **PowerShell 7** is the modern, cross-platform version. It’s faster, has better error messages and adds handy features like parallel loops and the `&&` and `||` operators. It installs side by side with the old version, so nothing breaks.

## Method 1: Install with winget (easiest)

1. Right-click the Start button and open **Terminal**.
2. Run: ``` winget install --id Microsoft.PowerShell --source winget ```
3. Accept the prompts and wait for the install to finish.

To update later, run:

```
winget upgrade --id Microsoft.PowerShell
```

## Method 2: Microsoft Store

Open the **Microsoft Store**, search for **PowerShell** and install the app published by Microsoft Corporation. Store installs update automatically.

## Method 3: MSI installer

1. Go to the official PowerShell page on GitHub (the PowerShell/PowerShell repository) and open **Releases**.
2. Download the **.msi** file for your system, usually the one ending in **win-x64.msi**.
3. Run it. On the options screen, you can add PowerShell to the PATH, add “Open here” to the context menu and enable updates through Microsoft Update.

## Open PowerShell 7

- Search the Start menu for **PowerShell 7**, or
- Type `pwsh` in any terminal or the Run box (Windows + R).

Check the version with:

```
$PSVersionTable.PSVersion
```

## Make PowerShell 7 the default in Windows Terminal

1. Open **Terminal**, click the down arrow next to the tabs and choose **Settings**.
2. On the **Startup** page, set **Default profile** to **PowerShell** (the black icon is PowerShell 7; the blue one is Windows PowerShell).
3. Click **Save**.

## Tips

- Install the **PowerShell extension** in Visual Studio Code if you write scripts. It uses PowerShell 7 for debugging and code suggestions.
- If `winget` isn’t recognised, update **App Installer** from the Microsoft Store.
- Your profile file for PowerShell 7 is separate from the old one. Run `$PROFILE` to see its path, and copy any aliases or settings you want to keep.

## Frequently asked questions

### Will my old scripts still work?

Most do. A few Windows-only modules need Windows PowerShell 5.1, which stays installed. You can run those scripts there, or use `Import-Module -UseWindowsPowerShell` in PowerShell 7.

### What’s the difference between powershell and pwsh?

`powershell` starts the old Windows PowerShell 5.1. `pwsh` starts PowerShell 7.

## Must Read

[https://aanctech.com/file-folder-owner-command-line-windows/](https://aanctech.com/file-folder-owner-command-line-windows/)

### Leave a Comment [Cancel Reply](/powershell-7-install-windows/#respond)
