Reputation: 40092
I currently have DNVM v1.0.0-beta4-10356 installed but there is no dnvm update-self
command available in this version.
How do I install the latest available DNVM?
I have tried this command as the ASP.NET 5 GitHub page:
&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
It performs the following:
Using temporary directory: C:\Users\Dave\AppData\Local\Temp\dnvminstall
Downloading DNVM.ps1 to C:\Users\Dave\AppData\Local\Temp\dnvminstall\dnvm.ps1
Downloading DNVM.cmd to C:\Users\Dave\AppData\Local\Temp\dnvminstall\dnvm.cmd
Installing DNVM
Installing .NET Version Manager to C:\Users\Dave\.dnx\bin
Installing 'dnvm.ps1' to 'C:\Users\Dave\.dnx\bin' ...
Skipping: file already exists
Installing 'dnvm.cmd' to 'C:\Users\Dave\.dnx\bin' ...
Skipping: file already exists
Adding C:\Users\Dave\.dnx\bin to Process PATH
Adding C:\Users\Dave\.dnx\bin to User PATH
Adding C:\Users\Dave\.dnx to Process DNX_HOME
Adding C:\Users\Dave\.dnx to User DNX_HOME
But upon running dnvm help
, I see that I remain on the same version.
Upvotes: 0
Views: 1576
Reputation: 40092
I just deleted the entire .dnx
folder from C:\Users\{{user}}
and reran the installation command. It obviously wasn't able to "overwrite".
Upvotes: 1
Reputation: 36736
beta6 just came out and there are tooling updates that will install the new version of dnvm
using that will be the easiest solution I think
Upvotes: 0