Installing PowerShell locally

Learn how to install PowerShell locally to solve Exercism's exercises on your own machine


PowerShell language track requirements

The Exercism PowerShell language track requires installed on your system:

  • PowerShell or Windows PowerShell Core
  • Pester test and mock framework module installed

(PS: Support for PowerShell is limited to critical fixes. PowerShell Core is consistently maintained and has greater cross-platform support)

Installing PowerShell

PowerShell comes pre-installed on all Windows operating systems from Windows 7 SP1 onward.

You can find the latest version of PowerShell and installation instructions for all platforms (Linux, macOS and Windows) here.

Source code and manual install for PowerShell is also available.

Installing and updating the Pester framework

Pester is the PowerShell testing framework. Since version 4.0.9 it is compatible with PowerShell Core on Windows, Linux and MacOS (with some limitations)

It is preinstalled on Windows 10, however, it is recommended you update by running the following PowerShell command:

Install-Module -Name Pester -Force -SkipPublisherCheck

For subsequent updates, run:

Update-Module -Name Pester

If necessary, further instructions for installation are available at: https://github.com/pester/Pester/wiki/Installation-and-Update

Using an IDE

If you want a more full-featured editing experience, you probably want to use an IDE. These are the most popular IDE's that support building PowerShell projects:

All platforms