We can install EF Core through the command-line interface (CLI).

Installing via the command line

The CLI is a cross-platform toolchain for developing, building, running, and publishing .NET applications. It is included with the .NET SDK and is available after installing the .NET SDK.

We’ll use the terminal below to install EF Core.

Get hands-on with 1200+ tech skills courses.