dotnet.github.io icon indicating copy to clipboard operation
dotnet.github.io copied to clipboard

Include windows installation instructions for dotnet CLI through PowerShell

Open tugberkugurlu opened this issue 9 years ago • 5 comments

There is probably a reason for not doing this. so, I wanted to open this issue rather than sending a PR. It would be really good to include how to install dotnet CLI through PowerShell (just like dnvm). For example, I used the below script which did the trick except for adding it to my PATH (copy from aspnet/Home repo):

@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/dotnet/cli/master/scripts/obtain/install.ps1'))}"

tugberkugurlu avatar Jan 05 '16 19:01 tugberkugurlu

obviously dependencies could be the main reason.

tugberkugurlu avatar Jan 05 '16 19:01 tugberkugurlu

You can at least shrink that to. Might be a better way, I don't know

iex (iwr https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/install.ps1).Content

factormystic avatar Jan 10 '16 03:01 factormystic

@tugberkugurlu not a bad idea. I'm generally rewamping the getting started experience slightly, so will include this as well.

blackdwarf avatar Jan 24 '16 22:01 blackdwarf

I would like to contribute..

parthpandyappp avatar Oct 05 '18 10:10 parthpandyappp

@parthpandyappp I believe this repository is not used for anything anymore. If you would like to contribute to .Net, there are many other repositories out there. If you're specifically interested in contributing to documentation, I think the right repository to start is dotnet/docs.

svick avatar Oct 05 '18 12:10 svick