Does Visual Studio run on Linux?

Verdict: No

No. Visual Studio is Windows only. Microsoft's system requirements list 64-bit Windows 11 and Windows Server editions and nothing else. Visual Studio Code is a different program and it does run on Linux.

Visual Studio by Microsoft · Coding · No way to run it

Microsoft's requirements page for Visual Studio 2022 lists Windows 11 and Windows Server 2016 and later, all 64-bit. Linux is not on the list, and Visual Studio depends on .NET Framework and the Edge WebView runtime, which are Windows components. Visual Studio for Mac was discontinued, so Windows is the only place it runs.

The name causes most of the confusion here. Visual Studio Code is a separate, free, much lighter program from the same company, and it has a proper Linux version. If your work is web development, Python, Go, Node or general text editing, moving to VS Code on Linux costs you very little and many Windows developers had already made that move.

The gap is .NET desktop work. If you build Windows Forms or WPF applications, or you lean on Visual Studio's designers, profilers and its debugger, VS Code does not replace that and neither does anything else on Linux. .NET itself runs on Linux and you can build and test cross-platform .NET projects there, but the visual designers are Windows-only. Plan on dual booting or a Windows virtual machine if that is your trade.

Your solution and project files come across without drama. A .sln or .csproj file is text, and VS Code and the JetBrains tools both open them. What does not come across is anything that depended on a Windows-only designer or build step, so try a real project before you commit.

What to use instead of Visual Studio

Visual Studio Code

Close matchFree

From the same company, free, and the usual landing spot. Excellent for web, Python and Node work, and lighter than Visual Studio by design.

Your files: Opens .sln and .csproj projects. Windows Forms and WPF visual designers are not available.

JetBrains Toolbox App

Close matchFree

Installs JetBrains Rider, which is the closest thing to Visual Studio for .NET on Linux, plus IntelliJ IDEA and PyCharm. The manager is free, most of the tools are paid.

Your files: Rider opens .sln and .csproj files directly, including most build configurations.

Meld

Different way of workingFree

Only replaces one small piece, the side-by-side file comparison and merge window. Free and useful alongside either of the above.

Your files: Compares plain text files and folders.

This doesn't have to stop you

One stubborn program doesn't have to decide the whole question. You can keep Windows on the same PC and restart into it only when you need Visual Studio. Everything else you do can move.

Check the next one

Last checked . Sources: