# Getting started

Starting to create moonlight plugins is very easy with our streamlined tool-chain & templates

### Requirements

Before you can start developing moonlight plugins please make sure you fulfill the following requirements:

* [.NET 9 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)
* An C# IDE (preferred [JetBrains Rider](https://www.jetbrains.com/rider/))
* [NodeJS](https://nodejs.org/en/download) (for building Tailwind)

### Installing template & toolchain

**Add the nuget package source:**

Because github doesn’t allow to download from their nuget package registry without authentication you need an [access token](https://github.com/settings/tokens) for your account which has the permissions to read packages. After you acquired this token you can add the nuget source by running the following command in your terminal:

```bash
dotnet nuget add source --username Moonlight-Panel --password YOUR_ACCESS_TOKEN --store-password-in-clear-text --name github-moonlight "https://nuget.pkg.github.com/Moonlight-Panel/index.json"
```

**Installing the plugin template:**

To install the moonlight plugin template run the following command:

```bash
dotnet new install Moonlight.PluginTemplate
```

**Confirming installation and creating your first plugin:**

To confirm your installation, open your IDE and create a new project. The custom template we just installed should appear.  
As the solution/project name type your plugin namespace/name. Please make sure you check the two check boxes as shown in the screenshot.