Skip to main content

To install the dotnet-ef tool, run the following command:

.NET 9

dotnet tool install --global dotnet-ef --version 9.* 

.NET 8

dotnet tool install --global dotnet-ef --version 8.* 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

To install the dotnet-ef tool, run the following command:

.NET 8

dotnet tool install --global dotnet-ef --version 8.* 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

To install the dotnet-ef tool, run the following command:

.NET 9

dotnet tool install --global dotnet-ef --version 9.* 

.NET 8

dotnet tool install --global dotnet-ef --version 8.* 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

added 14 characters in body
Source Link
Ateik
  • 2.6k
  • 4
  • 41
  • 60

To install the dotnet-ef tool, run the following command:

.NET 8

dotnet tool install --global dotnet-ef --version 8.* 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

To install the dotnet-ef tool, run the following command:

.NET 8

dotnet tool install --global dotnet-ef 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

To install the dotnet-ef tool, run the following command:

.NET 8

dotnet tool install --global dotnet-ef --version 8.* 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

deleted 20 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214

To install the dotnet-ef tool, run the following command:

.NET 8 RC 2

dotnet tool install --global dotnet-ef --version 8.0.0-rc.2.23480.1 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

To install the dotnet-ef tool, run the following command:

.NET 8 RC 2

dotnet tool install --global dotnet-ef --version 8.0.0-rc.2.23480.1 

.NET 7

dotnet tool install --global dotnet-ef 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

To install the dotnet-ef tool, run the following command:

.NET 8

dotnet tool install --global dotnet-ef 

.NET 7

dotnet tool install --global dotnet-ef --version 7.* 

.NET 6

dotnet tool install --global dotnet-ef --version 6.* 

.NET 5

dotnet tool install --global dotnet-ef --version 5.* 

.NET Core 3

dotnet tool install --global dotnet-ef --version 3.* 

For more information about the history of dotnet-ef, see the announcement for ASP.NET Core 3 Preview 4, which explains that this tool was changed from being built-in to requiring an explicit install:

The dotnet ef tool is no longer part of the .NET Core SDK

This change allows us to ship dotnet ef as a regular .NET CLI tool that can be installed as either a global or local tool.

edited body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
added 92 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
added 76 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
deleted 488 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
fix markdown quotes
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
add link to nuget versions
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
added 120 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
specific version to avoid https://github.com/aspnet/EntityFrameworkCore/issues/18977
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
explanation of why
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
deleted 18 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
versionless links
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
added 442 characters in body
Source Link
Konrad Viltersten
  • 40.2k
  • 90
  • 297
  • 526
Loading
deleted 54 characters in body
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading
Source Link
Kirk Larkin
  • 94.4k
  • 17
  • 235
  • 214
Loading