How did I install PowerShell 7 to Windows 10?

What does mean «new cross-platform PowerShell» in Windows 10?

The method below install PowerShell 7 alongside with the preinstalled PowerShell 5.1.

Step 1

winget search Microsoft.PowerShell

2023-04-28--23-29-27

Step 2

winget install --id Microsoft.Powershell --source winget

2023-04-28--23-31-56

learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3#install-powershell-using-winget-recommended

Step 3

Create a shortcut for opening PowerShell 7.3 with administrative rights.

Step 4

Set up the appearance.

Step 5

Add PowerShell 7 to the File Explorer context menu.

Step 6

Add PowerShell 7 to the File Explorer context menu.

Result

2023-04-29--00-20-44