dotnet new -i Avalonia.Templates doesnt work
See original GitHub issueIm trying to install Avalonia templates to my system. Im using linux.
dotnet new -i Avalonia.Templates
Expected behavior
Need to install template so I can select it under “New Solution” from Jetbrains Rider IDE.

Screenshots

Desktop (please complete the following information): Linux zorinos 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
╰─ dotnet --info ─╯
.NET SDK (reflecting any global.json):
Version: 5.0.103
Commit: 72dec52dbd
Runtime Environment:
OS Name: zorin
OS Version: 15
OS Platform: Linux
RID: linux-x64
Base Path: /home/ajinkya/dotnet/sdk/5.0.103/
Host (useful for support):
Version: 5.0.3
Commit: c636bbdc8a
.NET SDKs installed:
5.0.103 [/home/ajinkya/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.3 [/home/ajinkya/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.3 [/home/ajinkya/dotnet/shared/Microsoft.NETCore.App]
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Can't install Avalonia Templates on my machine. : r/dotnet
I tried to install the templates first as it says in the official documentations but I got this error that says "Avalonia.Templates could...
Read more >Avalonia.Templates 11.0.2
Templates for creating Avalonia applications and libraries. ... NET CLI. dotnet new install Avalonia.Templates::11.0.2. This package contains a .
Read more >Create a New Project
With the templates installed, you can create the application from the template: dotnet new avalonia.mvvm -o ToDoList -n ToDoList.
Read more >Add Avalonia file templates : RSRP-481583
About the project templates: they should already work out-of-the-box in both Rider and VS/ReSharper, provided you have installed them into dotnet new or...
Read more >How to remove/uninstall item templates in Visual Studio 2010
It works for me in VS 2019 and VS 2020 to uninstall Avalonia templates. ... The dotnet new --uninstall command uninstalls a template...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Im new to C#. I was trying to install this template from CLI hoping it would appear inside Rider IDE.
when I type this cmd in terminal to do so:
dotnet new -i Avalonia.TemplatesI get this below message, but there is info of success or error.
download the git repository as a zip file.
unpack the zip file
point the install command, to the unzipped folder:
dotnet new install ./avalonia-dotnet-templates-master
Then start a new terminal session and:
dotnet new avalonia.app
enter directory and
dotnet run
Maybe not what you where looking for, but it worked for me…
I guess this will work to:
```
git clone https://github.com/AvaloniaUI/avalonia-dotnet-templates.git
dotnet new install ./avalonia-dotnet-templates
```