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

Last updated