This commit is contained in:
Wiesław Šoltés 2022-12-29 22:11:51 +01:00 коммит произвёл GitHub
Родитель d672881e5f
Коммит 735cf79f28
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 16 добавлений и 5 удалений

Просмотреть файл

@ -1,19 +1,30 @@
# ⚡ Getting Started
# 🚀 Getting Started with Avalonia
To start hacking with Avalonia, install templates for it
Ready to get started with Avalonia? Follow these steps to install the templates and create your first application.
## Installation
To install the Avalonia templates, run the following command:
```bash
dotnet new install Avalonia.Templates
```
> For .NET 6.0 and earlier `--install` option should be used instead.
> Note: For .NET 6.0 and earlier, use the `--install` option instead.
Then create new application
## Creating a New Application
Once the templates are installed, you can create a new Avalonia application by running the following command:
```bash
dotnet new avalonia.app -o MyApp
```
This will create a new folder called `MyApp` with your application files. To run your application, navigate to the `MyApp` directory and run:
```bash
cd MyApp
dotnet run
```
That's it! Your Avalonia application is now up and running. You can open the `MyApp` folder to start improving and building upon your application.
Now you can open MyApp folder and continue improving your application.