# OR-Tools for .Net

You can install OR-Tools for .Net either from the NuGet package
manager, build it from source or use the .Net SDK archive.
The NuGet option is easier, so we recommend it unless you plan to modify
the source code or customize the build.

> [!NOTE]
> **Note:** If you plan to use a third-party solver with OR-Tools, you need to build OR-Tools from source.

## Using NuGet packages

The following guides explain how to use OR-Tools for .Net using the
published NuGet packages:

- [Using NuGet package on Linux](https://developers.google.com/optimization/install/dotnet/pkg_linux)
- [Using NuGet package on MacOS](https://developers.google.com/optimization/install/dotnet/pkg_mac)
- [Using NuGet package on Windows](https://developers.google.com/optimization/install/dotnet/pkg_windows)

## Build from Source

The following guides explain how to build from source OR-Tools for .Net
:

- [Source installation on Linux](https://developers.google.com/optimization/install/dotnet/source_linux)
- [Source installation on MacOS](https://developers.google.com/optimization/install/dotnet/source_mac)
- [Source installation on Windows](https://developers.google.com/optimization/install/dotnet/source_windows)

## Binary distributions

The following guides explain how to install OR-Tools for .Net from a
binary distribution:

- [Binary installation on Linux](https://developers.google.com/optimization/install/dotnet/binary_linux)
- [Binary installation on MacOS](https://developers.google.com/optimization/install/dotnet/binary_mac)
- [Binary installation on Windows](https://developers.google.com/optimization/install/dotnet/binary_windows)