Skip to content

Commit 4ea4900

Browse files
Update the dotnet tool install page (#45147)
1 parent 342094d commit 4ea4900

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/core/tools/dotnet-tool-install.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: dotnet tool install command
33
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
55
---
66
# dotnet tool install
77

@@ -129,6 +129,10 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
129129

130130
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.
131131

132+
- **`--source <SOURCE>`**
133+
134+
Specifies the source for NuGet packages. This source replaces all NuGet package sources.
135+
132136
[!INCLUDE [help](../../../includes/cli-help.md)]
133137

134138
- **`--ignore-failed-sources`**
@@ -141,7 +145,7 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
141145

142146
Update the tool and the local tool manifest. Can't be combined with the `--global` option or the `--tool-path` option.
143147

144-
- **`--no-cache`**
148+
- **`--no-cache` or `--no-http-cache`**
145149

146150
Don't cache packages and HTTP requests.
147151

@@ -155,15 +159,19 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
155159

156160
- **`--tool-path <PATH>`**
157161

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.
159167

160168
[!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]
161169

162170
- **`--version <VERSION_NUMBER>`**
163171

164172
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.
165173

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.*`.
167175

168176
## Examples
169177

0 commit comments

Comments
 (0)