![]() |
VOOZH | about |
dotnet tool install --global dotnet-ef --version 10.0.9
dotnet new tool-manifestif you are setting up this repo
dotnet tool install --local dotnet-ef --version 10.0.9
#tool dotnet:?package=dotnet-ef&version=10.0.9
nuke :add-package dotnet-ef --version 10.0.9
The Entity Framework Core tools help with design-time development tasks. They're primarily used to manage Migrations and to scaffold a DbContext and entity types by reverse engineering the schema of a database.
This package, dotnet-ef is for cross-platform command line tooling that can be used anywhere.
Install the tool package using:
dotnet tool install --global dotnet-ef
The available commands are listed in the following table.
| Command | Usage |
|---|---|
| dotnet ef --help | Displays information about Entity Framework commands. |
| dotnet ef database drop | Drops the database. |
| dotnet ef database update | Updates the database to the last migration or to a specified migration |
| dotnet ef dbcontext info | Gets information about a DbContext type. |
| dotnet ef dbcontext list | Lists available DbContext types. |
| dotnet ef dbcontext optimize | Generates a compiled version of the model used by the DbContext. |
| dotnet ef dbcontext scaffold | Generates a DbContext and entity type classes for a specified database. |
| dotnet ef dbcontext script | Generates a SQL script from the DbContext. Bypasses any migrations. |
| dotnet ef migrations add | Adds a new migration. |
| dotnet ef migrations bundle | Creates an executable to update the database. |
| dotnet ef migrations has-pending-model-changes | Checks if any changes have been made to the model since the last migration. |
| dotnet ef migrations list | Lists available migrations. |
| dotnet ef migrations remove | Removes the last migration. |
| dotnet ef migrations script | Generates a SQL script from the migrations. |
See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.
If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.5.26302.115 | 816 | 6/9/2026 |
| 11.0.0-preview.4.26230.115 | 2,706 | 5/12/2026 |
| 11.0.0-preview.3.26207.106 | 2,085 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 1,567 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 2,168 | 2/10/2026 |
| 10.0.9 | 337,670 | 6/9/2026 |
| 10.0.8 | 1,138,877 | 5/12/2026 |
| 10.0.7 | 927,630 | 4/21/2026 |
| 10.0.6 | 326,111 | 4/14/2026 |
| 10.0.5 | 1,308,516 | 3/12/2026 |
| 10.0.4 | 145,662 | 3/10/2026 |
| 9.0.17 | 25,776 | 6/9/2026 |
| 9.0.16 | 82,511 | 5/12/2026 |
| 9.0.15 | 95,147 | 4/14/2026 |
| 9.0.14 | 144,317 | 3/10/2026 |
| 9.0.13 | 140,295 | 2/10/2026 |
| 8.0.28 | 38,455 | 6/9/2026 |
| 8.0.27 | 140,696 | 5/12/2026 |
| 8.0.26 | 119,988 | 4/14/2026 |
| 8.0.25 | 190,749 | 3/10/2026 |