Download the dotnet-install.sh script
curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh
chmod +x dotnet-install.shInstall with dotnet-install.sh script:
./dotnet-install.sh --channel 10.0Test that you can run the dotnet CLI (command line interface)
~/.dotnet/dotnet --version
~/.dotnet/dotnet new console --help