Open up a PowerShell windows as Administrator. Run the following command:
Invoke-Expression "& { $(Invoke-Restmethod https://aka.ms/install-powershell.ps1) } -UseMSI -Preview"
An installation wizard will start when the msi has been downloaded. When it is complete there will be a new start menu item for the version of PowerShell installed (currently PowerShell 7 preview).