1dotnet-tool-list(1)           .NET Documentation           dotnet-tool-list(1)
2
3
4

dotnet tool list

6       This article applies to: ✔️ .NET Core 3.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

OPTIONS

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

EXAMPLES

61dotnet tool list -g
62
63         Lists  all  global tools installed user-wide on your machine (current
64         user profile).
65
66dotnet tool list --tool-path c:\global-tools
67
68         Lists the global tools from a specific Windows directory.
69
70dotnet tool list --tool-path ~/bin
71
72         Lists the global tools from a specific Linux/macOS directory.
73
74dotnet tool list or dotnet tool list --local
75
76         Lists all local tools available in the current directory.
77

SEE ALSO

79       • .NET tools
80
81       • Tutorial: Install and use a .NET global tool using the .NET CLI
82
83       • Tutorial: Install and use a .NET local tool using the .NET CLI
84
85
86
87                                  2022-10-24               dotnet-tool-list(1)
Impressum