The term 'update-database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check

With EntityFrameworkCore I had the same problem. I found this:

Just install Microsoft.EntityFrameworkCore.Tools package from nuget:

Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.1

You can also use this link to install the latest version: Nuget package link

Copied from Nasir Jafarzadeh


Sometimes this error occurred because of EF nuget.

Please try to reinstall or update EntityFramework nuget package.

Install-Package EntityFramework -Version 6.1.3