Where are dotnet tools stored by default?

Viewed 4179

I am using Windows 10 and and dotnet 2.2. When I install a tool like this:

dotnet tool install -g mydotnet-tool

Where does dotnet put this tool? I know you can specify the path on installing a tool but I am looking for the default global dotnet tool path.

1 Answers

According to the docs, the default global installation paths are:

  • Windows - %USERPROFILE%\.dotnet\tools
  • Linux/macOS - $HOME/.dotnet/tools

In Windows, this means the full path will be something like:

C:\Users\[User]\.dotnet\tools
Related