dnvm: a command-line tool for installing and updating dotnet SDKs
Unix
Copy the following command and run it in your terminal.
curl --proto '=https' -sSf https://dnvm.net/install.sh | sh
Windows
Copy the following command and run it in your terminal. Must be run inside a Powershell terminal.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm https://dnvm.net/install.ps1 | iex