Fork me on GitHub

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

For more information, see Getting Started


Non-interactive install

The install script supports scripted installation through additional command line flags. For example,

curl --proto '=https' -sSf https://dnvm.net/install.sh | sh -s -- -y --skip-tracking
will install dnvm without prompting and skip tracking or installing any SDKs.