Getting started

Install My EF Vibe via the efvibe CLI, point it at your EF Core project, and run your first query in under five minutes.

Install

Global tool (NuGet)

dotnet tool install --global efvibe
efvibe --version

Local tool (per repository)

dotnet tool restore
dotnet efvibe --version

From source

git clone https://github.com/yeahbah/my-ef-vibe.git
cd my-ef-vibe
dotnet run --project src/MyEfVibe/MyEfVibe.csproj -f net10.0 -- --version

Requirements

First REPL session

From your solution root (where .csproj files live):

efvibe

Session artifacts default to ~/.efvibe/<ProjectName>/<DbContextName>/.

At the prompt, try:

db.Products.Count();
:tables
:help

Class library + API (recommended)

When your DbContext lives in a persistence project and connection strings live on the API:

efvibe \
  -w ~/.efvibe \
  -p ./src/MyApp.Persistence/MyApp.Persistence.csproj \
  -s ./src/MyApp.Api/MyApp.Api.csproj \
  -c AppDbContext

AdventureWorks sample

The AdventureWorks repository mirrors this layout:

efvibe \
  -p apps/api-dotnet/src/AdventureWorks.Infrastructure.Persistence/AdventureWorks.Infrastructure.Persistence.csproj \
  -s apps/api-dotnet/src/AdventureWorks.API/AdventureWorks.API.csproj \
  -c AdventureWorksDbContext

One-shot evaluation

efvibe -p ./src/MyApp.Persistence/MyApp.Persistence.csproj \
  -c AppDbContext \
  -e "db.Orders.Count();"

VS Code

See VS Code extension — build the CLI (for efvibe serve), install the VSIX, set efvibe.project and efvibe.context, then use Run Selection. The extension keeps a warm daemon by default for faster re-runs.

Tip: Spell your DbContext name exactly — AdventureWorksDbContext, not AventureWorksDbContext.