Choose Avalonia for macOS or Linux. For a new Windows install, consider Avalonia first; if WPF already works well for you, there’s no need to reinstall just for a different interface. Before switching, back up subscriptions, manually added nodes, and routing rules. Run the new version separately and verify its actual listening port and system proxy settings.
The UI framework determines where the app runs, not which proxy protocols it supports
Avalonia and WPF are both frameworks for building desktop interfaces. v2rayN uses its interface to manage subscriptions, nodes, and local proxy settings; the selected proxy core, such as Xray, handles connections. For example, with the v2rayN 7.x series, whether a VLESS configuration works depends on the core version, transport, and security settings—not on which framework renders the window. Changing UI versions while keeping the core, nodes, and routing rules the same won’t make your connection faster.
Avalonia edition
RecommendedOne cross-platform UI framework supports Windows, macOS, and Linux. Each operating system still uses its own tray, menu bar, or desktop environment, so shortcuts and proxy controls may be in different places.
Best for: First-time installs or anyone who wants a similar workflow across desktop operating systems
WPF edition
Windows only. If your existing setup is stable, staying with WPF means less time spent relearning the layout, tray controls, and startup settings.
Best for: Windows users with an established WPF workflow
After switching, the most noticeable differences are row height, font scaling, menu placement, and keyboard focus. If a setting isn’t where you expect, look for an option with the same purpose in the main window menu. Only check whether the feature is available in that build if you can’t find it in the same app version and operating system. A missing tray-menu toggle doesn’t mean the core lacks that capability.
Choose an installer by operating system and processor architecture
Choose the operating system first, then the processor architecture, and finally the installation or extraction method. x64 is for common 64-bit Intel and AMD processors; arm64 is for 64-bit Arm. Both are 64-bit builds, but they’re not interchangeable. Check which combinations are actually available on the download page; don’t assume every UI version supports every architecture.
| Operating system | UI edition | What to check before installing |
|---|---|---|
| Windows | Avalonia or WPF | Go to Settings → System → About and check the System type. Choose x64 or arm64 accordingly. |
| macOS | Avalonia | Check the chip or processor in About This Mac: choose arm64 for Apple silicon or x64 for an Intel processor. |
| Linux | Avalonia | Run uname -m to check the architecture: x86_64 maps to x64, and aarch64 to arm64. Then choose a package format that matches your distribution and available builds. |
Choose the right package before worrying about the interface
If the main window doesn’t appear after you launch the app, first check the package architecture, whether it was fully extracted, and whether the build requires an additional runtime. Changing subscriptions or routing rules won’t fix a startup issue.
Switching from WPF to Avalonia: back up, import, and roll back
Before migrating, note the old app version, proxy core, active node, local proxy port, and system proxy mode. A working connection doesn’t mean every setting has migrated: refreshing a subscription can restore the nodes provided by the server, but manually added nodes, custom routing rules, and local ports need to be checked separately. Subscription URLs and node share links may contain access credentials; keep backups somewhere secure and never include them in public screenshots or feedback logs.
Migration options: switching editions on one computer or moving to another operating system
Switching on the same Windows PC
- Exit the old version from the system tray; don’t just close its window. If the current build’s data directory contains
guiConfigs, back up the entire folder as-is so you don’t miss node data while preserving only the UI settings. - Put the new version in a separate location. Import subscriptions and manually added nodes without overwriting the old app folder. During the first test, run only one instance to avoid conflicts over the same local port.
Moving from Windows to macOS or Linux
- On the new device, open Subscription groups → Subscription group settings, add the original subscription URL, and update the group. Add manually configured nodes separately, then confirm that the selected node matches the one on the old device.
- Set up the system proxy and launch at login again. Drive-letter paths, keyboard shortcuts, external app paths, and startup entries from the old computer won’t necessarily work on the new operating system.
Keep the old app and its data until the new version is verified. To roll back, exit the new version, launch the old one, and restore its system proxy settings.
If the two editions also have different app version numbers, prefer importing via subscriptions and share links. A full-folder backup is mainly for rollback; it doesn’t mean the new version can read all data from the old one. If you need to test a full-directory migration, copy the folder for the new version and keep the original untouched in case data written by the new version can’t be read by the old one.
After switching: check the listening port, then test app traffic
- Check the actual port. In v2rayN, go to Settings → Parameters settings to review the local listening settings, then check the runtime log to confirm the port was bound successfully.
10808is a common local port in v2rayN, not a fixed value for every computer. If the log reports that the port is already in use, make sure the old process has exited before choosing a different port. - Test system proxy and manual proxy settings separately. First, make a request from an app that uses the system proxy. Then test with an app that lets you set a proxy manually: enter the current listening address, port, and protocol. For example, if the port is
10808and SOCKS is enabled, enter127.0.0.1:10808and select SOCKS5. If the manual test works but the system proxy test doesn’t, check whether the system proxy is active before changing nodes. - Test direct connections and proxy rules separately. Choose two test destinations with known behavior: one should connect directly under your rules, and the other should go through the proxy. Check available routing logs or connection records instead of assuming routing works just because a page loads. Passing the system proxy test doesn’t mean TUN is routing all apps; test TUN separately if you use it.
- Check again after restarting. If the app should launch at startup, sign out and back in. Confirm that only the new version starts and that the system proxy still points to its current listening port. You can remove the old startup entry after everything checks out.
Common questions when switching editions
I’m already using WPF on Windows. Should I switch to Avalonia now?
If your current version updates subscriptions, routes traffic, and exits normally—and you don’t need cross-platform support—you can keep using it. To compare the experience, test window scaling, tray controls, and the proxy toggle with the same app version, core, and node. Run one instance at a time.
The tray icon doesn’t appear on Linux. Does that mean the app failed to start?
Not necessarily. Open the main window from the app menu and check that the node list and logs are visible. Then check whether your desktop environment displays status icons. If the main window is open and the local port is listening, you can use the main window without reinstalling just to restore the tray icon.
The subscription imported successfully. Why didn’t my manually added nodes come back?
Refreshing a subscription only retrieves the content it provides. On the old version, export share links for the nodes you need from the node list, then import them into the new version. Back up custom configurations separately, too, and check that any referenced paths work on the new device.
Only one app can’t connect after I switched editions. Should I reinstall?
First check whether the app uses the system proxy or has its own proxy settings. If it still points to the old port, change the address and port to the new version’s actual listening values, and confirm whether it should use HTTP or SOCKS. If other apps connect normally, reinstalling usually isn’t the first thing to try.