Can C# run on linux?

Опубликовано: 19 Апрель 2026
на канале: NET Programmer
32,384
334

You prefer reading an article? Visit https://net-programmers.com/Articles/...

In this video I explain running the development process of C# applications on Linux.

Links:
.NET SDK: https://docs.microsoft.com/en-us/dotn...
Rider IDE: https://www.jetbrains.com/rider/
Visual Studio Code: https://code.visualstudio.com/docs/la...
GTK#: https://www.mono-project.com/docs/gui...

Running C# on Linux

In this video we'll discuss running C# on Linux.

Is it even possible? Yes, and you can do this using:

.NET Core (except for GUI applications, currently no WPF available),

Mono (Gtk# for GUI apps).

Install the SDK

The first step you need to take to run C# applications on Linux is to install the SDK.

The official documentations containes up-to-date commands that you can use.

Please refer to https://learn.microsoft.com/en-us/dot....

Install the IDE

Two commonly used IDEs for Linux are:

Rider (mostly for ASP.NET Core),

Visual Studio Code (good for console apps).

To use C# in Visual Studo Code you need to install a proper extension. You can find the instructions at https://code.visualstudio.com/docs/la....

If you're interested in building GUI applications on Linux using GTK#, go ahead and visit https://www.mono-project.com/docs/gui... for more information.