# How to install PowerShell 7 > [!NOTE] > **WHAT TO EXPECT** > > **In this article**, users will learn how to install PowerShell 7. ## Check PowerShell version ```powershell $PSVersionTable.PSVersion ``` Example: ```powershell PS C:\Users\Administrator> $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 17763 4720 ``` ## Download PowerShell 7 ```powershell curl.exe -L -o PS7.msi https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi ``` Example: ```powershell PS C:\Users\Administrator> curl.exe -L -o PS7.msi https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 104M 100 104M 0 0 113M 0 --:--:-- --:--:-- --:--:-- 113M ``` ## Install PowerShell 7 ```powershell msiexec.exe /package PS7.msi /quiet ``` ## Run PowerShell 7 ```powershell & 'C:\Program Files\PowerShell\7\pwsh.exe' ```