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
Copy file name to clipboardExpand all lines: docs/core/tools/dotnet-tool-install.md
+12-4
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: dotnet tool install command
3
3
description: The dotnet tool install command installs the specified .NET tool on your machine.
4
-
ms.date: 03/15/2024
4
+
ms.date: 04/07/2025
5
5
---
6
6
# dotnet tool install
7
7
@@ -129,6 +129,10 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
129
129
130
130
Specifies that the installation is user wide. Can't be combined with the `--tool-path` option. Omitting both `--global` and `--tool-path` specifies a local tool installation.
131
131
132
+
-**`--source <SOURCE>`**
133
+
134
+
Specifies the source for NuGet packages. This source replaces all NuGet package sources.
135
+
132
136
[!INCLUDE [help](../../../includes/cli-help.md)]
133
137
134
138
-**`--ignore-failed-sources`**
@@ -141,7 +145,7 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
141
145
142
146
Update the tool and the local tool manifest. Can't be combined with the `--global` option or the `--tool-path` option.
143
147
144
-
-**`--no-cache`**
148
+
-**`--no-cache` or `--no-http-cache`**
145
149
146
150
Don't cache packages and HTTP requests.
147
151
@@ -155,15 +159,19 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
155
159
156
160
-**`--tool-path <PATH>`**
157
161
158
-
Specifies the location where to install the Global Tool. PATH can be absolute or relative. If PATH doesn't exist, the command tries to create it. Omitting both `--global` and `--tool-path` specifies a local tool installation.
162
+
Specifies the location to install the Global Tool. PATH can be absolute or relative. If PATH doesn't exist, the command tries to create it. Omitting both `--global` and `--tool-path` specifies a local tool installation.
163
+
164
+
-**`--allow-roll-forward`**
165
+
166
+
Allow tool to use a newer version of the .NET runtime if the runtime it targets isn't installed.
The version of the tool to install. By default, the latest stable package version is installed. Use this option to install preview or older versions of the tool.
165
173
166
-
Starting with .NET 8.0, `--version Major.Minor.Patch` refers to a specific major/minor/patch version, including unlisted versions. To get the latest version of a certain major/minor version instead, use `--version Major.Minor.*`.
174
+
Starting with .NET 8, `--version Major.Minor.Patch` refers to a specific major/minor/patch version, including unlisted versions. To get the latest version of a certain major/minor version instead, use `--version Major.Minor.*`.
0 commit comments