https://github.com/josephwoodward/DotNetInstallSdkGlobalTool
Global tool to make installing .NET version that little bit easier
https://github.com/josephwoodward/DotNetInstallSdkGlobalTool
Last synced: 5 months ago
JSON representation
Global tool to make installing .NET version that little bit easier
- Host: GitHub
- URL: https://github.com/josephwoodward/DotNetInstallSdkGlobalTool
- Owner: josephwoodward
- License: apache-2.0
- Created: 2019-06-01T09:27:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T21:15:20.000Z (9 months ago)
- Last Synced: 2024-11-08T02:37:25.812Z (5 months ago)
- Language: C#
- Size: 139 KB
- Stars: 15
- Watchers: 5
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - josephwoodward/DotNetInstallSdkGlobalTool - Global tool to make installing .NET version that little bit easier (C# #)
README
# .NET Install SDK Global Tool
Global tool to make installing .NET Core versions that little bit easier
To install globally:
```bash
$ dotnet tool install -g installsdkglobaltool
```You can also find InstallSdkGlobalTool [on NuGet here](https://www.nuget.org/packages/InstallSdkGlobalTool/).
## Features:
You can use this tool to download and install .NET Core SDK versions based on a variety of ways, these are:
### Install .NET Core SDK based on global.json
1. Navigate to any directory within your .NET Core application that has a `global.json` file.
2. Run `$ dotnet-install-sdk`The .NET Core Install SDK global tool will then scan the project directories for a global.json file. If found it will download and install the SDK dictated by the global.json file.
### Install latest .NET Core SDK Preview
1. Run `$ dotnet-install-sdk --latest-preview` from any directory
The .NET core Install SDK global tool will then download and lauch the installer for the latest preview of the .NET Core SDK.
## Options
```bash
$ dotnet-install-sdk -hUsage: DotNetInstallSdk [options]
Options:
-LP|--latest-preview Optional. Install the latest preview version of the .NET Core SDK
-H|--headless Optional. Install .NET Core SDK in headless mode (default is true)
-?|-h|--help Show help information
```## Contributions
Big thanks to [@stuartblang](https://twitter.com/stuartblang) who contributed loads to this.