I could handle this…
Before, I was stuck thinking I needed to add dotnet-ef
to the .nix
file, but that’s not the case.
In the .nix
file, you only need to ensure you have the dotnet-sdk
package. Once that’s set up, you can run the following commands:
Install EF Tools Globally
dotnet tool install --global dotnet-ef
Use EF Tools Locally in the Project
dotnet new tool-manifest
dotnet tool install dotnet-ef
After these steps, you’re ready to use EF Tools!