I have been maintaining the PowerShell Core for Windows Chocolatey package for quite some time, however, since it is a pre-release package, it does not show up on Chocolatey’s search.
This post lets you know it is available and gives the commands for install, upgrade and uninstall.
Here is the command to install it - notice the ‘-pre’ switch to opt into receiving a pre-release.
choco install -y powershell-core -pre
Here is the upgrade command:
choco upgrade -y powershell-core -pre
And the uninstall command
choco uninstall -y powershell-core
You can examine the package and it’s source here: https://chocolatey.org/packages/powershell-core