Update cli-installation-scenarios.md
This commit is contained in:
parent
a801d387d0
commit
65e9113e54
1 changed files with 13 additions and 1 deletions
|
@ -209,7 +209,7 @@ The following arguments are needed for the installation script:
|
|||
|
||||
| dotnet-install.sh arg (Linux, OSX) | dotnet-install.ps1 arg (Windows) | Defaults | Description |
|
||||
|-------------------------------------- |------------------------------------ |----------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| --channel | -Channel | "Production" | Which channel (i.e. "Future", "preview", "production") to install from. |
|
||||
| --channel | -Channel | "preview" | Which channel (i.e. "Future", "preview", "production", "release/1.1.0") to install from. |
|
||||
| --version | -Version | global.json or Latest | Which version of CLI to install; you need to specify the version as 3-part version (i.e. 1.0.0-13232). If omitted, it will default to the first global.json that contains the sdkVersion property; if that is not present it will use Latest. |
|
||||
| --install-dir | -InstallDir | .dotnet | Path to where to install the CLI bundle. The directory is created if it doesn't exist. On Linux/OSX this directory is created in the user home directory (`$HOME`). On Windows, this directory is created in `%LocalAppData%`. |
|
||||
| --debug | -Debug | false | Whether to use the "fat" packages that contain debugging symbols or not. |
|
||||
|
@ -218,6 +218,18 @@ The following arguments are needed for the installation script:
|
|||
|
||||
Note: Powershell arg naming convention is supported on Windows and non-Windows platforms. Non-Windows platforms do additionally support convention specific to their platform.
|
||||
|
||||
##### Install the 1.1.0 of the shared runtime
|
||||
|
||||
Windows:
|
||||
```
|
||||
./dotnet-install.ps1 -Channel 'release/1.1.0' -SharedRuntime -Version 1.1.1
|
||||
```
|
||||
|
||||
macOS/Linux:
|
||||
```
|
||||
./dotnet-install.sh --channel 'release/1.1.0' --shared-runtime --version 1.1.1
|
||||
```
|
||||
|
||||
##### Install the latest Future CLI
|
||||
|
||||
Windows:
|
||||
|
|
Loading…
Add table
Reference in a new issue