PowerShell 7 — Free Shell and Scripting Language

By Microsoft · Developer tools
  • Open source
  • Free
  • Developer tools
Download PowerShell 7 Direct download from github.com Official download page Link checked October 19, 2026

Our verdict: PowerShell 7 is the modern, actively developed version of PowerShell and the better default shell for scripting and admin work on Windows. It runs beside the built-in Windows PowerShell 5.1 instead of replacing it. A few older Windows-only modules still need 5.1, and the object-based syntax takes time to learn if you come from Bash.

PowerShell 7.5 console window showing the PSVersionTable output and a simple function
PowerShell 7.5 console window showing the PSVersionTable output and a simple function · Screenshot: Refresh100, MIT, via Wikimedia Commons

About PowerShell 7

PowerShell is a command-line shell and scripting language from Microsoft that passes objects, not plain text, between commands. PowerShell 7 is open source under the MIT license, runs on Windows, macOS and Linux, and is built on modern .NET. It installs to its own folder and is started with the pwsh command, side by side with Windows PowerShell 5.1, which ships with Windows.

The MSI package can add PowerShell to PATH, add Open PowerShell and Run with PowerShell items to the Explorer context menu, enable PowerShell remoting and opt in to updates through Microsoft Update. Some Windows PowerShell modules work in PowerShell 7 through the Windows Compatibility feature; others still require version 5.1. Version 7.6 is the current Long Term Support release.

What it does well

  • Object pipeline. Commands pass structured .NET objects, so you filter and sort by property.
  • Cross-platform. The same scripts and modules run on Windows, macOS and Linux.
  • Side-by-side install. Runs as pwsh next to Windows PowerShell 5.1 without replacing it.
  • Remoting. Manages other machines over WSMan or SSH.
  • Microsoft Update support. The MSI version can update itself through Windows Update or WSUS.

Who it is for

Good fit

Windows admins, DevOps engineers and developers who automate tasks or manage servers and cloud services.

Look elsewhere

People who only run occasional commands and are happy with the built-in Windows PowerShell 5.1.

Pros and cons

Pros

  • Free and open source (MIT)
  • Actively developed, with Long Term Support releases
  • Runs on Windows, macOS and Linux
  • Installs beside Windows PowerShell 5.1

Cons

  • Some older Windows PowerShell modules still need version 5.1
  • Object-based syntax is unfamiliar to Bash users
  • Microsoft plans no MSI package from version 7.7 on

How to install PowerShell 7

The button downloads the 64-bit MSI of the current LTS release from Microsoft's GitHub releases. In setup, consider enabling Add PowerShell to PATH, the Explorer context menu items and Microsoft Update. Start it with pwsh or from the Start menu entry PowerShell 7. In Windows Terminal, set PowerShell as the default profile.

Questions about PowerShell 7

Is PowerShell 7 free?

Yes. PowerShell 7 is open source under the MIT license and free to use.

Does PowerShell 7 replace Windows PowerShell?

No. PowerShell 7 installs to a new folder and runs side by side with Windows PowerShell 5.1, which stays part of Windows.

What is the difference between powershell and pwsh?

powershell starts the built-in Windows PowerShell 5.1, and pwsh starts PowerShell 7.

Download PowerShell 7 from microsoft.com ExeDepot does not host this file. The download starts from the developer's server, github.com. Other versions are on the official download page.

Alternatives to PowerShell 7

  • Python Programming Language

    The official Python interpreter for Windows, with pip, IDLE and the standard library.

    Python Software Foundation · Open source · python.org
  • Node.js JavaScript Runtime

    JavaScript runtime for servers, command-line tools and build tooling, bundled with npm.

    OpenJS Foundation and Node.js contributors · Open source · nodejs.org
  • Go Programming Language

    Google's open-source Go language: compiler, standard library and go tool for modules, tests and builds.

    Google and the Go contributors · Open source · go.dev
  • Rust Programming Language

    Memory-safe systems language installed with rustup: compiler, Cargo package manager and toolchains.

    The Rust Project · Open source · rust-lang.org

Similar to PowerShell 7 All developer tools apps

  • .NET SDK Developer SDK

    Microsoft's open-source SDK for building C#, F# and VB apps; the link installs the .NET 10 LTS SDK.

    Microsoft and the .NET Foundation · Open source · dotnet.microsoft.com
  • Eclipse Temurin Java JDK

    Free, TCK-certified OpenJDK builds from Eclipse Adoptium; the link installs the current LTS JDK.

    Eclipse Adoptium Working Group · Open source · adoptium.net
  • Microsoft Visual C++ Redistributable Runtime Library

    Microsoft C and C++ runtime libraries that many Windows programs and games need to start.

    Microsoft · Freeware · microsoft.com
  • DirectX End-User Runtime Runtime Library

    Microsoft web installer for legacy DirectX libraries (D3DX9, XAudio 2.7, XInput 1.3) that older games need.

    Microsoft · Freeware · microsoft.com