Repro steps
Following https://github.com/dotnet/core/blob/main/release-notes/8.0/install.md, except attempting to install the bits to /usr/share/dotnet
wget https://dot.net/v1/dotnet-install.sh -O ~/bin/dotnet-install.sh
chmod u+x ~/bin/dotnet-install.sh
~/bin/dotnet-install.sh --runtime dotnet --channel 8.0 --quality preview --install-dir /usr/share/dotnet
dotnet_install: Error: Failed to locate the latest version in the channel '8.0' with 'preview' quality for 'dotnet-runtime', os: 'osx', architecture: 'x64'.
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support.
Expected
Should install
Actual
Error -- see above
Additional info
MacOS Ventura 13.2.1, Intel CPU
Shell: bash 5.2.15