Kirsten
Kirsten

Reputation: 18178

Change the default active version showing in dnvm list

When I run dnvm list at the command prompt I see my default active version is rc1-update1 clr x86.

How do I change it to x64?

dnvm help shows that there is a command named "alias" which lists and manages aliases but it does not show how to set the default.

[Update] I tried

the following

Upvotes: 0

Views: 322

Answers (1)

Oleg
Oleg

Reputation: 222007

You can execute

dnvm alias default 1.0.0-rc1-update1 -arch x64 -r clr

to change the default alias. You can examine the content of the file %USERPROFILE%\.dnx\alias\default.txt. Probably you would like to execute

dnvm use  1.0.0-rc1-update1 -r clr arch x64 -p

later to change the path too. You can use

dnvm upgrade -r clr -arch x64

to do all above plus downloading the latest released version.

Upvotes: 1

Related Questions