# Getting Started

Create your first Xui app and run it in a phone emulator on your desktop.

<section class="start-prompt" aria-labelledby="start-with-a-prompt">
<div class="gigi-portrait">
<img src="gigi-pointing.png" alt="Gigi, the Xui mascot, pointing to your prompt" width="1024" height="1024">
<img class="gigi-wink" src="gigi-winking.png" alt="" aria-hidden="true" width="1024" height="1024">
</div>
<div class="start-prompt-content">
<h2 id="start-with-a-prompt">Start with a Prompt</h2>
<p>Copy this into your coding assistant:</p>
<p class="starter-prompt">Create me a Xui app <input class="prompt-app-name" type="text" aria-label="App name" value="Mighty-Hero" required spellcheck="false" autocomplete="off"> following: <a href="index.md" data-prompt-guide>index.md</a></p>
<div class="prompt-actions">
<button type="button" class="copy-prompt" hidden><span class="copy-symbol" aria-hidden="true">⧉</span> <span class="copy-label">Copy prompt</span></button>
<span class="copy-status" role="status" aria-live="polite"></span>
</div>
</div>
</section>

Prefer to build it yourself? [Start step by step ↓](#start-step-by-step)

## Start step by step

### 1. Install .NET

Xui applications are written in C# and need the **.NET 10 SDK** to build and run.
[Download the .NET 10 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/10.0)
for your computer, then check the installation in a terminal:

```sh
dotnet --version
```

The version should start with `10.`. The emulator runs on **Windows or macOS**;
you do not need an Android or iOS SDK for this guide.

### 2. Install the Xui templates

```sh
dotnet new install Xui.Templates
```

Create an application called `MyApp`:

```sh
dotnet new xui -n MyApp
cd MyApp
```

> This guide describes the refreshed starter template. Its updated NuGet package
> is being prepared for release.

### 3. Run the emulator

```sh
dotnet run --project MyApp.Emulator.csproj
```

A desktop window opens with your app inside a phone emulator. Try **Hello, Xui!**,
**Counter**, and **About**, then use Back to return home.

Your app's pages are ordinary C# files. Open `CounterPage.cs` to start making it
your own.

### 4. What's next?

Continue to [Reference](../reference/index.md) for the full table of contents, from pages and navigation to input, drawing, and testing.
