Update README.md
This commit is contained in:
Родитель
d672881e5f
Коммит
735cf79f28
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче