---
title: "The term update-database is not recognized as the name of a cmdlet, function."  
description: "The term update-database is not recognized as the name of a cmdlet, function."  
author: "Manish Kumar"  
published: 2017-10-09  
updated: 2017-10-09  
canonical: https://www.mindstick.com/forum/34352/the-term-update-database-is-not-recognized-as-the-name-of-a-cmdlet-function  
category: "asp.net"  
tags: ["c#", "asp.net mvc", "entity framework"]  
reading_time: 1 minute  

---

# The term update-database is not recognized as the name of a cmdlet, function.

I am using [code first approach](https://www.mindstick.com/articles/1497/many-to-many-and-one-to-many-relationship-using-ef-code-first-approach) in my [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects)

In [package](https://www.mindstick.com/blog/12619/tips-for-finding-the-right-package-when-you-buy-instagram-followers) manage [console](https://www.mindstick.com/blog/210/the-console-class) when we [run command](https://www.mindstick.com/blog/478/run-command-shortcut-keys) [update](https://www.mindstick.com/forum/156353/what-is-hummingbird-update)-[database](https://www.mindstick.com/articles/12226/use-of-database-in-sencha-extjs-and-insert-record-from-user-form-using-ajax)

Then it [shows](https://yourviews.mindstick.com/view/81380/new-york-violent-shooting-shows-people-are-not-safe-in-night-life) error

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

\

I don't know why it shows error ....can any one help???

## Replies

### Reply by Sushant Mishra

reboot your visual studio or run this [command](https://www.mindstick.com/blog/178/synchronous-and-asynchronous-command-execution-in-c-sharp-dot-net) in package manager console\

```
Install-Package EntityFramework -Version 6.1.3
```

hope this help you..


---

Original Source: https://www.mindstick.com/forum/34352/the-term-update-database-is-not-recognized-as-the-name-of-a-cmdlet-function

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
