1dotnet tool update command - .NETdCoo.trNneEeTtCLCtIoo(ro1el)update command - .NET Core CLI(1)
2
3
4

dotnet tool update

NAME

7       dotnet tool update  -  Updates  the  specified .NET Core Global Tool on
8       your machine.
9

SYNOPSIS

11              dotnet tool update <PACKAGE_NAME> <-g|--global> [--configfile] [--framework] [-v|--verbosity]
12              dotnet tool update <PACKAGE_NAME> <--tool-path> [--configfile] [--framework] [-v|--verbosity]
13              dotnet tool update <-h|--help>
14

DESCRIPTION

16       The dotnet tool update command provides a way for you  to  update  .NET
17       Core  Global  Tools on your machine to the latest stable version of the
18       package.  The command uninstalls and reinstalls a tool, effectively up‐
19       dating  it.   To  use  the command, you either have to specify that you
20       want to update a tool from a user-wide installation using the  --global
21       option  or  specify  a  path  to  where the tool is installed using the
22       --tool-path option.
23
24   Arguments
25       PACKAGE_NAME
26
27       Name/ID of the NuGet package that contains the .NET Core Global Tool to
28       update.   You can find the package name using the dotnet tool list com‐
29       mand.
30

OPTIONS

32       --add-source <SOURCE>
33
34       Adds an additional NuGet package source to use during installation.
35
36       --configfile <FILE>
37
38       The NuGet configuration (nuget.config) file to use.
39
40       --framework <FRAMEWORK>
41
42       Specifies the target framework to update the tool for.
43
44       -g|--global
45
46       Specifies that the update is for a user-wide tool.  Can't  be  combined
47       with  the  --tool-path  option.   If you don't specify this option, you
48       must specify the --tool-path option.
49
50       -h|--help
51
52       Prints out a short help for the command.
53
54       --tool-path <PATH>
55
56       Specifies the location where the Global Tool is installed.  PATH can be
57       absolute  or relative.  Can't be combined with the --global option.  If
58       you don't specify this option, you must specify the --global option.
59
60       -v|--verbosity <LEVEL>
61
62       Sets the verbosity level of the command.  Allowed values  are  q[uiet],
63       m[inimal], n[ormal], d[etailed], and diag[nostic].
64

EXAMPLES

66       Updates the dotnetsay Global Tool:
67
68       dotnet tool update -g dotnetsay
69
70       Updates the dotnetsay Global Tool located on a specific Windows folder:
71
72       dotnet tool update dotnetsay --tool-path c:\global-tools
73
74       Updates  the  dotnetsay  Global  Tool located on a specific Linux/macOS
75       folder:
76
77       dotnet tool update dotnetsay --tool-path ~/bin
78
79   See also
80       .NET Core Global Tools
81

AUTHORS

83       mairaw.
84
85
86
87                                 dotnet tool update command - .NET Core CLI(1)
Impressum