How to Check PowerShell Version? [Windows/Mac/Linux]

PowerShell Core is the shell from Windows that works on all environments - macOS, Linux and Windows.

If you want to check the version of PowerShell it's easy, follow the below steps,


1. For Windows

    Open PowerShell on Windows and type in the following command.

    $PSVersionTable.PSVersion

2. For Mac

    Open Terminal app on your Mac and type the below command.

    pwsh --version

    You should see the response like,

    PowerShell 7.3.6
    Know PowerShell Version on Mac

3. For Linux (Ubuntu or Unix-Like Systems)

    Open Terminal app on your Linux and type the below command.

    pwsh --version

    You should see the response like,

    PowerShell 7.3.6

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!