Cannot find command ‘dotnet ef’

In my case, the tools folder didn’t exist inside %USERPROFILE%\.dotnet\ so I had to run the command dotnet tool install --global dotnet-ef to install dotnet ef. Then I was able to run dotnet ef…

This was the result of the above install command:

This was the result of the above install command

Leave a Comment