dnxdnvm

how do i uninstall old versions of dnx?


I want to remove all the beta versions of clr and coreclr I cant see them in programs and features.

I am running Windows 7

I deleted all files in %USERPROFILE%.dnx\packages but when I run

dnvm list

I still see them.


Solution

  • You can use dnvm uninstall command. For example

    dnvm uninstall 1.0.0-rc2-16343 -r coreclr -arch x64
    

    You should just change the default to another dnx if you want to uninstall the current one. I described in the answer step by step how one can install a new version of dnx, try it and then uninstall it.

    You will see that the most what do dnvm uninstall is deleting of the folder existing under %USERPROFILE%\.dnx\runtimes.