You get error like this:

Process terminated. Couldn’t find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.

Did not work with powershell preview

sudo snap install powershell --classic
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
pwsh