How to install Entity Framework in Visual Studio?

There are 2 ways to install Microsoft’s data access technology, Entity Framework:

Use NuGet Package Manager UI:

  1. In Visual Studio, click “Tools > NuGet Package Manager > Manage NuGet Packages for Solution…”
  2. Search for “Entity”
  3. Select “EntityFramework” and click “Install”

Use NuGet Package Manager Console:

  1. In Visual Studio, click “Tools > NuGet Package Manager > Package Manager Console”
  2. Enter the following command:

    Install-Package EntityFramework

It will automatically install the latest version available (It’s 6.2.0 as of the date I wrote this post).

I used Visual Studio 2013 in the screenshots above.