Check if you have the EF TOOLS installed first, if not then install them. Run the following commands to verify that EF Core CLI tools are correctly installed: "dotnet ef" Installing the tools: "dotnet tool install --global dotnet-ef"
Look at documentation for referenece here: https://learn.microsoft.com/en-us/ef/core/cli/dotnet