📘
Quick reference
  • Install
    • Winget
    • Dotnet SDK
    • Visual Studio (Both)
    • LocalDB
    • REPL
  • Dotnet CLI
    • Solution creation
    • Project creation
    • dotnet ef install
    • dotnet ef commands
  • Trouble shooting
    • VS plugin crashes
Powered by GitBook
On this page
  • Check if ef tool is already installed
  • Output
  • Update old installation if exists
  • Install if none exists
  • Verify installation
  • Output
  • Details
  1. Dotnet CLI

dotnet ef install

Check if ef tool is already installed

dotnet tool list --global

Output

Package Id                            Version      Commands
------------------------------------------------------------
dotnet-ef                             7.0.1        dotnet-ef

Update old installation if exists

dotnet tool update --global dotnet-ef

Install if none exists

dotnet tool install --global dotnet-ef

Verify installation

dotnet ef

Output


                     _/\__
               ---==/    \\
         ___  ___   |.    \|\
        | __|| __|  |  )   \\\
        | _| | _|   \_/ |  //|\\
        |___||_|       /   \\\/\\

Entity Framework Core .NET Command-line Tools 7.0.1

Usage: dotnet ef [options] [command]ba

Details

PreviousProject creationNextdotnet ef commands

Last updated 2 years ago

EF Core tools reference (.NET CLI) - EF Coredocsmsft
Logo