update install commands for Windows
update both CMD and Powershell install commands for Windows to include the configuration of the corporate proxy
This commit is contained in:
parent
bab8777bd9
commit
17bd0c8e61
|
|
@ -22,12 +22,12 @@ If you don't want to install Visual Studio or want to upgrade DNVM to the latest
|
||||||
|
|
||||||
####CMD
|
####CMD
|
||||||
```
|
```
|
||||||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
|
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';$wc=New-Object System.Net.WebClient;$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;$wc.Proxy.Credentials=[System.Net.CredentialCache]::DefaultNetworkCredentials;Invoke-Expression ($wc.DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
|
||||||
```
|
```
|
||||||
|
|
||||||
####Powershell
|
####Powershell
|
||||||
```
|
```
|
||||||
&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
|
&{$Branch='dev';$wc=New-Object System.Net.WebClient;$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;$wc.Proxy.Credentials=[System.Net.CredentialCache]::DefaultNetworkCredentials;Invoke-Expression ($wc.DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
|
||||||
```
|
```
|
||||||
|
|
||||||
This will download the DNVM script and put it in your user profile. You can check the location of DNVM by running the following in a cmd prompt:
|
This will download the DNVM script and put it in your user profile. You can check the location of DNVM by running the following in a cmd prompt:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue