davidfowl/TodoApi

dotnet ef command fails

clarkezone opened this issue · 1 comments

Attempting to follow the getting started instructions on linux (Ubuntu 2204). dotnet EF command is reported as being installed but not working correctly:

➜  TodoApi git:(main) dotnet --version
7.0.100
➜  TodoApi git:(main) dotnet tool install dotnet-ef -g
Tool 'dotnet-ef' is already installed.
➜  TodoApi git:(main) dotnet ef
Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-ef does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
➜  TodoApi git:(main)

Looks like it was a variation of this: dotnet/dotnet-docker#520

~/.dotnet/tools was not in my path.