# Installation

## Stable Releases

Use NuGet to install Xdg.Directories.

From the .NET CLI:

    dotnet add package Xdg.Directories

or from Visual Studio's package manager:

    Install-Package Xdg.Directories

## Pre-releases

For bleeding edge users, preview releases are available.

They are uploaded to two places automatically every commit:

- GitHub packages - A GitHub account is needed to download.
- Forgejo packages - No login required.

Follow the directions at the respective links to install the package.