dn-vm / dnvm

dnvm is a command-line interface for installing and updating different dotnet SDKs
https://dnvm.net
MIT License
59 stars 8 forks source link

Add non-interactive usage #147

Open bradwilson opened 3 months ago

bradwilson commented 3 months ago

I use Ansible to automated my development machines. Due to limitations imposed by Linux distributions, I am currently using dotnet-install to install specific SDKs and runtimes. This comes with some significant downsides; namely, there is no uninstallation and/or upgrade scenarios supported by dotnet-install. dnvm seems like a natural fit.

However, I cannot automated dnvm as it stands today because it mandates interactivity. To make the switch, I would require non-interactive invocations:

I would of course use dnvm in its interactive mode to perform upgrades as necessary (in much the same way I use Ansible to get software initially installed when building the dev environment, but rely on apt update && apt upgrade to keep it up to date).

Non-requirements: