Skip to content

Commit d635f63

Browse files
Add [--allow-roll-forward] to the synopsis of dotnet tool install (#45951)
1 parent 4f20ce9 commit d635f63

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ ms.date: 04/07/2025
1515

1616
```dotnetcli
1717
dotnet tool install <PACKAGE_NAME> -g|--global
18-
[--allow-downgrade] [-a|--arch <ARCHITECTURE>]
18+
[--allow-downgrade] [--allow-roll-forward] [-a|--arch <ARCHITECTURE>]
1919
[--add-source <SOURCE>] [--configfile <FILE>] [--disable-parallel]
2020
[--framework <FRAMEWORK>] [--ignore-failed-sources] [--interactive]
2121
[--no-cache] [--prerelease]
2222
[--tool-manifest <PATH>] [-v|--verbosity <LEVEL>]
2323
[--version <VERSION_NUMBER>]
2424
2525
dotnet tool install <PACKAGE_NAME> --tool-path <PATH>
26-
[--allow-downgrade] [-a|--arch <ARCHITECTURE>]
26+
[--allow-downgrade] [--allow-roll-forward] [-a|--arch <ARCHITECTURE>]
2727
[--add-source <SOURCE>] [--configfile <FILE>] [--disable-parallel]
2828
[--framework <FRAMEWORK>] [--ignore-failed-sources] [--interactive]
2929
[--no-cache] [--prerelease]
3030
[--tool-manifest <PATH>] [-v|--verbosity <LEVEL>]
3131
[--version <VERSION_NUMBER>]
3232
3333
dotnet tool install <PACKAGE_NAME> [--local]
34-
[--allow-downgrade] [-a|--arch <ARCHITECTURE>]
34+
[--allow-downgrade] [--allow-roll-forward] [-a|--arch <ARCHITECTURE>]
3535
[--add-source <SOURCE>] [--configfile <FILE>]
3636
[--create-manifest-if-needed] [--disable-parallel]
3737
[--framework <FRAMEWORK>] [--ignore-failed-sources] [--interactive]
@@ -95,6 +95,10 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
9595

9696
[!INCLUDE [allow-downgrade](../../../includes/cli-allow-downgrade.md)]
9797

98+
- **`--allow-roll-forward`**
99+
100+
Allow tool to use a newer version of the .NET runtime if the runtime it targets isn't installed.
101+
98102
- **`-a|--arch <ARCHITECTURE>`**
99103

100104
Specifies the target architecture. This is a shorthand syntax for setting the [Runtime Identifier (RID)](../../../docs/core/rid-catalog.md), where the provided value is combined with the default RID. For example, on a `win-x64` machine, specifying `--arch x86` sets the RID to `win-x86`.
@@ -161,10 +165,6 @@ For more information, see [Install a local tool](global-tools.md#install-a-local
161165

162166
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.
163167

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.
167-
168168
[!INCLUDE [verbosity](../../../includes/cli-verbosity.md)]
169169

170170
- **`--version <VERSION_NUMBER>`**

0 commit comments

Comments
 (0)