---
Product: Aspose.Cells
Platform: net
Page Type: docs
Canonical URL: https://docs.aspose.org/cells/net/getting-started/installation
---

# Installation

Install Aspose.Cells FOSS for .NET via NuGet and verify the setup with a simple workbook example. Covers dotnet CLI, Package Manager, and manual reference.

## Overview

This guide walks you through installing Aspose.Cells FOSS for .NET and verifying that the library is working in your project.

---

### Prerequisites

| Requirement | Detail |
|-------------|--------|
| Runtime | .NET 6.0 or later (.NET 8.0 LTS recommended) |
| OS | Windows, macOS, Linux, or Docker |
| Package manager | NuGet (dotnet CLI, Visual Studio, or Rider) |
| External dependencies | None — pure managed code, no Office required |

---

### Step 1 — Add the NuGet Package

Run the following command in your project directory:

```bash
dotnet add package Aspose.Cells.FOSS
```

You can also add the package through the Visual Studio NuGet Package Manager Console, or by
referencing it directly in your `.csproj` file — the package identity is the same either way:
`dotnet add package Aspose.Cells.FOSS`.

---

### Step 2 — Add the Using Directive

At the top of any C# file that uses the library, add:

```csharp
using Aspose.Cells_FOSS;
```

---

### Step 3 — Verify the Installation

Create a small test program to confirm the library loads and produces a valid XLSX file:

```csharp
using Aspose.Cells_FOSS;

var workbook = new Workbook();
var sheet = workbook.Worksheets[0];

sheet.Cells["A1"].PutValue("Hello from Aspose.Cells FOSS");
sheet.Cells["B1"].PutValue(42);
sheet.Cells["C1"].Formula = "=B1*2";

workbook.Save("verify.xlsx");

var loaded = new Workbook("verify.xlsx");
Console.WriteLine(loaded.Worksheets[0].Cells["A1"].StringValue);
Console.WriteLine(loaded.Worksheets[0].Cells["C1"].StringValue);
```

Expected output:

```
Hello from Aspose.Cells FOSS
84
```

If the file is written and both values print correctly, the installation is complete.

---

### Next Steps

- [Quick Start](../quickstart/) — Create your first spreadsheet with formulas, styles, and multiple worksheets
- [Developer Guide](../../developer-guide/) — In-depth tutorials covering all major feature areas
- [KB Articles](https://kb.aspose.org/cells/net/) — Task-oriented how-to guides

## See Also

- [Aspose.Cells for .NET — Enterprise Documentation](https://docs.aspose.com/cells/net/)