Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command not found “dotnet-dump”

Good afternoon. Dotnet 6 was correctly installed on Ubuntu 20.04.4 LTS.

dotnet --version
6.0.400

Then, using the command, installed the utility dotnet-dump.

dotnet tool install --global dotnet-dump

Next, using the command, I try to get the version of the utility and I have an error:

dotnet-dump --version
dotnet-dump: command not found

If you try to install the utility again, you get a message that it is already installed:

dotnet tool install --global dotnet-dump
The dotnet-dump tool is already installed.

Question:

How do I fix this situation?

P.S.: The installation I carried out on the basis of the article enter link description here

like image 428
Anton Avatar asked Jun 17 '26 07:06

Anton


1 Answers

Ensure global tools dir is on the PATH

export PATH="$PATH:$HOME/.dotnet/tools"
like image 77
Gonras Karols Avatar answered Jun 18 '26 21:06

Gonras Karols