1(1)                                  .NET                                  (1)
2
3
4

dotnet tool list

6       This article applies to: ✔️ .NET Core 2.1 SDK and later versions
7

NAME

9       dotnet tool list - Lists all .NET tools of the specified type currently
10       installed on your machine.
11

SYNOPSIS

13              dotnet tool list -g|--global
14
15              dotnet tool list --tool-path <PATH>
16
17              dotnet tool list --local
18
19              dotnet tool list
20
21              dotnet tool list -h|--help
22

DESCRIPTION

24       The dotnet tool list command provides a way for you to  list  all  .NET
25       global,  tool-path, or local tools installed on your machine.  The com‐
26       mand lists the package name, version installed, and the  tool  command.
27       To use the command, you specify one of the following:
28
29       • To  list  global  tools  installed  in  the default location, use the
30         --global option
31
32       • To list global tools installed in a custom location, use the  --tool-
33         path option.
34
35       • To  list  local  tools,  use the --local option or omit the --global,
36         --tool-path, and --local options.
37
38       Local tools are available starting with .NET Core SDK 3.0.
39

OPTIONS

41-g|--global
42
43         Lists user-wide global tools.  Can’t be combined with the --tool-path
44         option.  Omitting both --global and --tool-path lists local tools.
45
46-?|-h|--help
47
48         Prints out a description of how to use the command.
49
50--local
51
52         Lists  local tools for the current directory.  Can’t be combined with
53         the --global or --tool-path  options.   Omitting  both  --global  and
54         --tool-path lists local tools even if --local is not specified.
55
56--tool-path <PATH>
57
58         Specifies  a custom location where to find global tools.  PATH can be
59         absolute or relative.  Can’t be combined with  the  --global  option.
60         Omitting both --global and --tool-path lists local tools.
61

EXAMPLES

63dotnet tool list -g
64
65         Lists  all  global tools installed user-wide on your machine (current
66         user profile).
67
68dotnet tool list --tool-path c:\global-tools
69
70         Lists the global tools from a specific Windows directory.
71
72dotnet tool list --tool-path ~/bin
73
74         Lists the global tools from a specific Linux/macOS directory.
75
76dotnet tool list or dotnet tool list --local
77
78         Lists all local tools available in the current directory.
79
80   See also
81       • .NET tools
82
83       • Tutorial: Install and use a .NET global tool using the .NET CLI
84
85       • Tutorial: Install and use a .NET local tool using the .NET CLI
86
87
88
89                                                                           (1)
Impressum