> For the complete documentation index, see [llms.txt](https://chsakell.gitbook.io/mongodb-csharp-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chsakell.gitbook.io/mongodb-csharp-docs/getting-started/quick-start.md).

# 🏃‍♂️ Quick start

Run Forrest run!

## Do you like shortcuts?

If the answer is yes then you are on the right page. Quick start section can help you get your hands dirty right on as it contains samples with the most common CRUD :heavy\_plus\_sign::heavy\_minus\_sign::pencil: :x: operations when dealing with any database. You will learn step by step how to:

1. Connect to a MongoDB instance
2. List all databases existing in the instance
3. List all collections existing in a specific database
4. Insert one or many documents at once in a collection
5. Search for and read documents from a collection
6. Update one or more documents in a collection

{% hint style="success" %}
Quick start is recommended for those who have never used the `MongoDB .NET` driver
{% endhint %}

![Quick Start with MongoDB .NET driver](https://2076499567-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1LyPqYq4CEFXnjdYHF%2F-M4dwbcmZBWzwnQh05At%2F-M4dxOpBkfSizQMD_P7x%2Fquick-start.png?alt=media\&token=de97ea3a-49b0-49ca-94f5-ece337c14ebc)

## Install Nuget packages

To start writing MongoDB queries using C# , you need to install the **MongoDB.Driver** :oncoming\_automobile: Nuget package in your project with one of the following ways:

### dotnet CLI

```csharp
dotnet add package MongoDB.Driver
```

### Visual Studio

Open the *Nuget Package Manager*, search for and install the package.

### Nuget Package Manager

```csharp
Install-Package MongoDB.Driver
```
