-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
Type of issue
Missing information
Description
Since dotnet 9 the dotnet tool update
command got the ability to use --all
.
- Original issue, I think: Add
dotnet tool update --all
option sdk#10130 - PR that added it: [Issue #37237 #19650] Dotnet Cli Feature:
dotnet tool update --all
Updating all tools with one command sdk#38996
Info from dotnet.exe
on my machine:
PS > dotnet --version
9.0.300
PS > dotnet tool update --help
Description:
Update a global or local tool.
Usage:
dotnet tool update [<packageId>] [options]
Arguments:
<PACKAGE_ID> The NuGet Package Id of the tool to update.
Options:
-g, --global Install the tool for the current user.
--local Install the tool and add to the local tool manifest (default).
--tool-path <PATH> The directory where the tool will be installed. The directory will be created if it does
not exist.
--version <VERSION> The version of the tool package to install.
--configfile <FILE> The NuGet configuration file to use.
--tool-manifest <PATH> Path to the manifest file.
--add-source <ADDSOURCE> Add an additional NuGet package source to use during installation.
--source <SOURCE> Replace all NuGet package sources to use during installation with these.
--framework <FRAMEWORK> The target framework to install the tool for.
--prerelease Include pre-release packages.
--disable-parallel Prevent restoring multiple projects in parallel.
--ignore-failed-sources Treat package source failures as warnings.
--no-http-cache Do not cache packages and http requests.
--interactive Allows the command to stop and wait for user input or action (for example to complete
authentication).
-v, --verbosity <LEVEL> Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal],
d[etailed], and diag[nostic].
--allow-downgrade Allow package downgrade when installing a .NET tool package.
--all Update all tools.
-?, -h, --help Show command line help.
PS >
Page URL
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-update
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-tool-update.md
Document Version Independent Id
a1b7af2d-e2ba-bc4b-4d35-a8edbaa1249f
Platform Id
dcb5557d-9f63-8e9a-a37e-a00e4cc73989
Article author
Metadata
- ID: 6a8171f4-8466-98ed-acb8-49563b864d16
- PlatformId: dcb5557d-9f63-8e9a-a37e-a00e4cc73989
- Service: dotnet-fundamentals