You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Architecture of the .NET Core binaries to install. Possible values are `<auto>`, `amd64`, `x64`, `x86`, `arm64`, and `arm`. The default value is `<auto>`, which represents the currently running OS architecture.
65
+
66
+
-**`-AzureFeed|--azure-feed`**
67
+
68
+
Specifies the URL for the Azure feed to the installer. We recommended that you don't change this value. The default value is `https://dotnetcli.azureedge.net/dotnet`.
69
+
51
70
-**`-Channel|--channel <CHANNEL>`**
52
71
53
72
Specifies the source channel for the installation. The possible values are:
@@ -59,34 +78,41 @@ You can install a specific version using the `-Version|--version` argument. The
59
78
60
79
The default value is `LTS`. For more information on .NET support channels, see the [.NET Support Policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) page.
61
80
62
-
-**`-Version|--version <VERSION>`**
81
+
-**`-DryRun|--dry-run`**
63
82
64
-
Represents a specific build version. The possible values are:
83
+
If set, the script won't perform the installation. Instead, it displays what command line to use to consistently install the currently requested version of the .NET Core CLI. For example, if you specify version `latest`, it displays a link with the specific version so that this command can be used deterministically in a build script. It also displays the binary's location if you prefer to install or download it yourself.
65
84
66
-
-`latest` - Latest build on the channel (used with the `-Channel` option).
67
-
-`coherent` - Latest coherent build on the channel; uses the latest stable package combination (used with Branch name `-Channel` options).
68
-
- Three-part version in X.Y.Z format representing a specific build version; supersedes the `-Channel` option. For example: `2.0.0-preview2-006120`.
85
+
-**`-FeedCredential|--feed-credential`**
69
86
70
-
If not specified, `-Version` defaults to `latest`.
87
+
Used as a query string to append to the Azure feed. It allows changing the URL to use non-public blob storage accounts.
71
88
72
-
-**`-JSonFile|--jsonfile <JSONFILE>`**
89
+
-**`-Help|--help`**
73
90
74
-
Specifies a path to a [global.json](global-json.md) file that will be used to determine the SDK version. The *global.json* file must have a value for `sdk:version`.
91
+
Prints out help for the script.
75
92
76
93
-**`-InstallDir|--install-dir <DIRECTORY>`**
77
94
78
95
Specifies the installation path. The directory is created if it doesn't exist. The default value is *%LocalAppData%\Microsoft\dotnet*. Binaries are placed directly in this directory.
Architecture of the .NET Core binaries to install. Possible values are `<auto>`, `amd64`, `x64`, `x86`, `arm64`, and `arm`. The default value is `<auto>`, which represents the currently running OS architecture.
99
+
Specifies a path to a [global.json](global-json.md) file that will be used to determine the SDK version. The *global.json* file must have a value for `sdk:version`.
83
100
84
-
-**`-SharedRuntime|--shared-runtime`**
101
+
-**`-NoCdn|--no-cdn`**
85
102
86
-
> [!NOTE]
87
-
> This parameter is obsolete and may be removed in a future version of the script. The recommended alternative is the `-Runtime|--runtime` option.
103
+
Disables downloading from the [Azure Content Delivery Network (CDN)](https://docs.microsoft.com/azure/cdn/cdn-overview) and uses the uncached feed directly.
88
104
89
-
Installs just the shared runtime bits, not the entire SDK. This option is equivalent to specifying `-Runtime|--runtime dotnet`.
105
+
-**`-NoPath|--no-path`**
106
+
107
+
If set, the installation folder isn't exported to the path for the current session. By default, the script modifies the PATH, which makes the .NET Core CLI available immediately after install.
108
+
109
+
-**`-ProxyAddress`**
110
+
111
+
If set, the installer uses the proxy when making web requests. (Only valid for Windows.)
112
+
113
+
-**`ProxyUseDefaultCredentials`**
114
+
115
+
If set, the installer uses the credentials of the current user when using proxy address. (Only valid for Windows.)
90
116
91
117
-**`-Runtime|--runtime <RUNTIME>`**
92
118
@@ -96,53 +122,38 @@ You can install a specific version using the `-Version|--version` argument. The
96
122
-`aspnetcore` - the `Microsoft.AspNetCore.App` shared runtime.
97
123
-`windowsdesktop` - the `Microsoft.WindowsDesktop.App` shared runtime.
98
124
99
-
-**`-DryRun|--dry-run`**
100
-
101
-
If set, the script won't perform the installation. Instead, it displays what command line to use to consistently install the currently requested version of the .NET Core CLI. For example, if you specify version `latest`, it displays a link with the specific version so that this command can be used deterministically in a build script. It also displays the binary's location if you prefer to install or download it yourself.
125
+
-**`--runtime-id <RID>`**
102
126
103
-
-**`-NoPath|--no-path`**
127
+
Specifies the [runtime identifier](../rid-catalog.md) for which the tools are being installed. Use `linux-x64` for portable Linux. (Only valid for Linux/macOS.)
104
128
105
-
If set, the installation folder isn't exported to the path for the current session. By default, the script modifies the PATH, which makes the .NET Core CLI available immediately after install.
129
+
-**`-SharedRuntime|--shared-runtime`**
106
130
107
-
-**`-Verbose|--verbose`**
131
+
> [!NOTE]
132
+
> This parameter is obsolete and may be removed in a future version of the script. The recommended alternative is the `-Runtime|--runtime` option.
108
133
109
-
Displays diagnostics information.
134
+
Installs just the shared runtime bits, not the entire SDK. This option is equivalent to specifying `-Runtime|--runtime dotnet`.
Specifies the URL for the Azure feed to the installer. We recommended that you don't change this value. The default value is `https://dotnetcli.azureedge.net/dotnet`.
138
+
Skips installing non-versioned files, such as *dotnet.exe*, if they already exist.
114
139
115
140
-**`-UncachedFeed|--uncached-feed`**
116
141
117
142
Allows changing the URL for the uncached feed used by this installer. We recommended that you don't change this value.
118
143
119
-
-**`-NoCdn|--no-cdn`**
120
-
121
-
Disables downloading from the [Azure Content Delivery Network (CDN)](https://docs.microsoft.com/azure/cdn/cdn-overview) and uses the uncached feed directly.
122
-
123
-
-**`-FeedCredential|--feed-credential`**
124
-
125
-
Used as a query string to append to the Azure feed. It allows changing the URL to use non-public blob storage accounts.
126
-
127
-
-**`--runtime-id`**
128
-
129
-
Specifies the [runtime identifier](../rid-catalog.md) for which the tools are being installed. Use `linux-x64` for portable Linux. (Only valid for Linux/macOS)
130
-
131
-
-**`-ProxyAddress`**
132
-
133
-
If set, the installer uses the proxy when making web requests. (Only valid for Windows)
134
-
135
-
-**`ProxyUseDefaultCredentials`**
144
+
-**`-Verbose|--verbose`**
136
145
137
-
If set, the installer uses the credentials of the current user when using proxy address. (Only valid for Windows)
0 commit comments