dotnet-tool-list(1)

πŸ“¦
version 11.0.0~rc3 Β· 6 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– dotnet-tool-list β€” like, the manual page bestie πŸ’–

okay so this is the dotnet-tool-list(1) page from the .NET Documentation, and yes we are doing this together, grab a snack πŸ“

This article applies to: βœ”οΈ .NET 6 SDK and later versions


✨ NAME ✨

dotnet-tool-list β€” lists all .NET tools of the specified type currently installed on your machine. that's it, that's the whole job, and it does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

dotnet tool list -g|--global

dotnet tool list --tool-path <PATH>

dotnet tool list --local

dotnet tool list [<PACKAGE_ID>]

dotnet tool list

dotnet tool list -h|--help

πŸ¦‹ DESCRIPTION πŸ¦‹

The dotnet tool list command provides a way for you to list .NET global, tool-path, or local tools installed on your machine. The command lists the package name, version installed, and the tool command. three columns of pure information, we love to see it πŸ‘‘

To use the command, you specify one of the following:

  • To list global tools installed in the default location, use the --global option
  • To list global tools installed in a custom location, use the --tool-path option.
  • To list local tools, use the --local option or omit the --global, --tool-path, and --local options.
  • To list a specific tool, use the optional PACKAGE_ID argument.

πŸŽ€ ARGUMENTS πŸŽ€

  • PACKAGE_ID

Lists the tool that has the supplied package ID if the tool is installed. Can be used in conjunction with options. Provides a way to check if a specific tool was installed. If no tool with the specified package ID is found, the command lists headings with no detail rows. The command always returns 0.

sobbing gently but still returning 0 β€” the most emotionally stable command in the whole SDK fr fr 😭

πŸ’œ OPTIONS πŸ’œ

  • -g|--global β€” Lists user-wide global tools. Can’t be combined with the --tool-path option. Omitting both --global and --tool-path lists local tools.
  • -?|-h|--help β€” Prints out a description of how to use the command.
  • --local β€” Lists local tools for the current directory. Can’t be combined with the --global or --tool-path options. Omitting both --global and --tool-path lists local tools even if --local is not specified.
  • --tool-path <PATH> β€” Specifies a custom location where to find global tools. PATH can be absolute or relative. Can’t be combined with the --global option. Omitting both --global and --tool-path lists local tools.
heads up bestie: those options are NOT mix-and-match. --global and --tool-path are not friends, and --local doesn't vibe with either of them. pick a lane πŸ’€

πŸ”₯ EXAMPLES πŸ”₯

  • dotnet tool list -g

Lists all global tools installed user-wide on your machine (current user profile).

  • dotnet tool list --tool-path c:\global-tools

Lists the global tools from a specific Windows directory.

  • dotnet tool list --tool-path ~/bin

Lists the global tools from a specific Linux/macOS directory.

  • dotnet tool list or dotnet tool list --local

Lists all local tools available in the current directory.

  • dotnet tool list -g dotnetsay

Lists the global tool with the package ID dotnetsay (https://www.nuget.org/packages/dotnetsay/)

  • dotnet tool list dotnetsay

Lists the local tool with the package ID dotnetsay (https://www.nuget.org/packages/dotnetsay/)

not the dotnetsay glow-up twice in one page, iconic behavior actually 🫢


🌈 SEE ALSO 🌈

  • .NET tools
  • Tutorial: Install and use a .NET global tool using the .NET CLI
  • Tutorial: Install and use a .NET local tool using the .NET CLI

okay and that's the whole page, you understood all of it, main character energy confirmed ⭐

this has been dotnet-tool-list(1) from the .NET Documentation, dated 2025-10-30 β€” mwah, go list some tools, bye bestie πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from