Download the dotnet-install.sh
script
cd
curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh
chmod +x dotnet-install.sh
This is needed by Visual Stuio Code C# extension. Install with dotnet-install.sh
script:
./dotnet-install.sh --channel 7.0
./dotnet-install.sh --runtime dotnet --version 7.0.11
or download and install from Microsoft
./dotnet-install.sh --runtime dotnet --version 6.0.22
or download and install from Microsoft