Skip to content

--all switch is missing from the documentation #46592

@o-l-a-v

Description

@o-l-a-v

Type of issue

Missing information

Description

Since dotnet 9 the dotnet tool update command got the ability to use --all.

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

@tdykstra

Metadata

  • ID: 6a8171f4-8466-98ed-acb8-49563b864d16
  • PlatformId: dcb5557d-9f63-8e9a-a37e-a00e4cc73989
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions