Windows users can choose between Avalonia and WPF; macOS and Linux users need the Avalonia build for their platform. This guide is for desktop users installing v2rayN for the first time or switching UI versions. Check your OS and CPU architecture first, then compare the subscription groups, proxy settings, and log locations. Finally, test the new version with the same server.
Platform support: Avalonia for macOS and Linux; Avalonia or WPF for Windows
Avalonia and WPF are UI frameworks that v2rayN uses to render desktop windows. They are not proxy protocols or the core that establishes connections. The two versions may differ in button placement, font rendering, and window scaling. Whether a VMess or VLESS server works depends on the selected core, server settings, and your network—not the UI framework. Subscriptions are not tied to either framework, but successfully importing a subscription does not mean every server will connect.
Avalonia desktop version
RecommendedChoose the build for Windows, macOS, or Linux. The main window workflow is similar across desktop platforms, but tray behavior and system proxy settings should be checked separately on each OS.
Best for: first-time setup and use across desktop platforms
WPF version
Windows only. If your current setup is stable, or your instructions are written for the WPF interface, you can keep using it. There is no need to reconfigure everything just to change the window style.
Best for: keeping your existing Windows setup and workflow
Choosing a version: keep settings that are already working
If your WPF setup is working, note the current server, core, and local ports before deciding whether to switch. If all servers are timing out, check the logs and network using the same server first. Changing the UI is not a troubleshooting fix.
Choosing an installer: check your operating system, then your architecture
Avalonia builds are not interchangeable across all three operating systems. Don’t use “64-bit” alone to determine the right package: both x64 and ARM64 are 64-bit architectures. If the download page lists them separately, choose the one that matches your device. When comparing screenshots, note the full version number shown in your client and check the release version and UI edition. This helps distinguish menu changes between releases from differences between frameworks.
| Operating system | UI version | Check before downloading |
|---|---|---|
| Windows | Avalonia or WPF | Go to Settings → System → About or System Information and check System type. Confirm whether your device uses x64 or ARM64, then make sure the selected UI version offers a matching build. |
| macOS | Avalonia | Open About This Mac. Choose ARM64 for an Apple chip or x64 for an Intel processor. In either case, select a macOS build. |
| Linux | Avalonia | Run uname -m to check the architecture: x86_64 maps to x64, and aarch64 maps to ARM64. If available, choose the deb package for Debian or Ubuntu, or the rpm package for Fedora. |
On first launch, confirm that the main window opens before testing a server. If the app exits before the window appears, check the package architecture, make sure it was fully extracted, and review the build notes for runtime dependencies. If the window opens but the logs report a core startup failure, check the core path or whether a port is already in use. These are separate issues; reimporting your subscription will fix neither.
Finding settings and features: use setting names, not screenshot coordinates
After switching versions, subscription groups, system proxy status, and parameter settings are the easiest things to lose track of. Avalonia may differ from WPF in control spacing, list column widths, and how menus open. At higher scaling levels, the same button may also appear in a different part of the window. Resize the window so the server list and logs are easy to read, then find the relevant settings by task:
- Update a subscription: Open Subscription groups → Subscription group settings, confirm the URL for the selected group, then update that group. Return to the server list, select the same group, and check that the expected entries appear. An “update complete” message alone does not confirm that the current list shows the group you just updated.
- Select and test a server: Select the target entry in the server list and open its context menu. Look for the options to set it as the active server and run a real connection latency test. Confirm that the intended server is selected before testing. Afterward, check which server is active so your browser does not keep using the previous one.
- Local proxy ports: Open Settings → Parameter settings to check the local listening ports. If the app shows HTTP proxy port
10809and the logs confirm that it is listening, applications configured to use an HTTP proxy can use127.0.0.1:10809. For a SOCKS proxy, use the corresponding port shown in the app. - System proxy and logs: In the Windows tray menu, look for Set system proxy automatically and Clear system proxy. On macOS and Linux, check both the client status and system network settings. After switching, make one connection attempt and check the logs for entries from that time. If the listening address is already in use, look for another client or a leftover core process.
Switching UI versions: same-PC changes and cross-platform moves
Migration plan: copy only the settings the target environment needs
Switching versions on the same Windows PC
- Note the active server, routing settings, and local listening ports in the old version. If you need to keep its configuration, fully exit the app and back up the old config on the same PC.
- Before switching, clear the system proxy in the old version and exit. Check that its tray process has stopped so the two clients do not compete for the same port.
- Install or extract the new version in a separate directory. Unless you have confirmed that both versions can read each other’s configuration, reimport the subscription instead of letting the new version modify the old directory.
Moving to macOS or Linux
- Install the build for the target OS, then add the subscription again and update its groups. Do not copy executable cores or absolute paths from the old system.
- Set up the same servers and routing requirements first, then check that the proxy settings are working on the target OS.
- If you need Tun mode, verify basic access with a regular proxy first. Then check the target OS permissions and routes separately; do not change both at once while troubleshooting.
Verification order: subscription group populated → real connection test on the same server → enable the intended proxy mode → test with the actual application.
To compare latency between versions, use the same device, network, server, and test address. Record each result and alternate between versions over several rounds. If you also change the core version, you cannot attribute the results to the UI framework alone. Passing a real connection test does not mean your browser is using the proxy. To check browser traffic, make sure the browser is not overriding the system proxy and that routing rules are not sending the test request directly.
Package selection and switching FAQs
I have WPF on Windows, but the tutorial shows Avalonia. Do I need to reinstall?
No need to reinstall just to match the screenshots. Find the same features under Subscription groups and Settings → Parameter settings, then use the server list context menu to find the connection test. If only the menu locations differ, you can keep using your current version.
I downloaded a Linux package, but it still won’t install. Why?
The package format is only part of the check; you also need the right architecture. Run uname -m to see whether your system is x86_64 or aarch64. If the architecture matches, check which dependency the package manager reports as missing. Renaming the file extension will not change the package format.
The new version updated my subscription, so why can’t my browser open websites?
A successful subscription request only means the client retrieved the server list. Run a real connection test on the active server, then check the proxy mode and local listening port used by your browser. Ports entered manually in the old version are not automatically updated when you install a new one.
Can I keep both Windows versions on the same PC for comparison?
Yes. Keep each version in a separate directory and run them one at a time. Before starting the other version, clear the system proxy set by the first one and fully exit it. Otherwise, its tray process may still be holding a port even after the main window closes.