For a fresh Windows install, start with the Avalonia desktop edition. If you’re comfortable with WPF and your current setup is stable, stick with it. This guide covers package architecture, separates the UI from the proxy core, and walks through a safe migration: keep your old version, test the new one, and roll back if needed.
Avalonia or WPF on Windows?
Avalonia and Windows Presentation Foundation (WPF) are UI frameworks. They determine how windows, menus, and settings appear—not which protocols your nodes use. VMess or VLESS support depends on the selected proxy core and node settings. A different interface doesn’t mean the core has changed.
Avalonia cross-platform desktop edition
RecommendedThe same UI framework is available on Windows, macOS, and Linux, with a separate download for each operating system. When switching computers, you can keep the same workflow for managing nodes, subscriptions, and settings without copying the other machine’s system proxy settings.
Best for: Fresh Windows installs or frequent switching between desktop operating systems
WPF edition
Built for Windows. If you’re already familiar with your version’s tray menu, keyboard shortcuts, and settings, staying on the same branch avoids having to learn a new interface while troubleshooting. Check the requirements for your version and how you use it before deciding whether to stay.
Best for: Windows users with a stable WPF setup
When following a screenshot, first check which v2rayN version and UI branch it shows. If a button isn’t where you expect, check the tray menu or settings before importing your subscription again. To compare performance, keep the node, core, and routing the same. If your speed tests take different routes, you can’t attribute the latency difference to the UI framework.
Check your OS, architecture, and package type before downloading
- Choose your platform first. Open the Windows section on the client downloads page, then look for “Desktop” or “WPF.” Cross-platform Avalonia means there are builds for multiple platforms—not that one package runs on every operating system.
- Next, choose the architecture. In Windows, open “Settings” → “System” → “About” and check “System type.” A processor based on x64 needs the x64 package. For an ARM-based device, choose a native ARM64 package if one is available and recommended in the release notes. “64-bit” alone isn’t enough; check the processor type too. If your target release doesn’t offer a matching architecture, check its release notes rather than guessing from the file size.
- Finally, check the dependencies. If a branch offers multiple packages, check the notes to see whether the proxy core is included, whether you need to install a runtime, and whether the package is an installer or a portable archive. If you see a runtime prompt, match its version, type, and architecture. Don’t install a random .NET version and simply try again.
System proxy, tray, and local ports: what to check
Starting a node and enabling the Windows system proxy are separate steps. The client starts the core listening on a local port, then changes the system proxy setting if you enable that option. Some apps use Windows proxy settings; others have their own proxy configuration. After switching editions, test your browser first, then check your usual apps one by one. A working browser doesn’t mean all traffic on your computer is using the proxy.
- In v2rayN, open “Settings” → “Parameter settings” and check the current local listening port and proxy type. Field names can vary slightly between builds. Treat the values shown in the diagram as examples; use the app’s interface and startup logs as your source of truth. If an app has its own proxy settings, choose HTTP or SOCKS to match the actual listener—not just the port number.
- Select a known working node, then choose “Set system proxy” → “Auto configure system proxy” from the tray menu. In Windows, open “Settings” → “Network & internet” → “Proxy” and check the address and port. If the client shows multiple listening ports, use the one intended for the system proxy; another listener isn’t necessarily a configuration error.
- Use a browser that follows the system proxy to visit a site you normally test, then check the client logs for the corresponding connection. If the logs report that a port is in use, close any other v2rayN instance or check which process is using it. If you must change the port, update any apps where you entered the old port manually. Don’t enable TUN yet—it changes how traffic is captured and makes this test harder to interpret.
Updating within a branch vs. switching branches
Treat updating the app and changing its interface as separate tasks. Updating program files doesn’t update your subscription, and switching to Avalonia doesn’t guarantee that all local settings will migrate from the old branch. Record custom routing rules, core selection, and local listening ports separately; adding your subscription again usually won’t restore them.
Upgrade plan: choose based on whether you’re switching UI branches
Stay on your current branch
- Turn off the system proxy managed by the client, exit the tray app, and back up your settings and current app folder. If you use a proxy for your work network, note its original settings so you can restore them after testing.
- Upgrade according to the release notes for your current branch, keeping the same platform and processor architecture. After the first launch, check your subscription groups, selected node, and routing mode before enabling the system proxy.
- Update the client and the core separately. Test the client upgrade first, then decide whether to update the core. This makes it easier to pinpoint which change caused a problem.
Switch from WPF to Avalonia
- Keep the old version and put the new one in a separate location; run only one during testing. Don’t overwrite the old folder with the new package, and don’t assume different packages use separate data directories.
- If the target version’s notes explain how to restore settings from an older version, follow those instructions. If not, import nodes into the new version using your subscription URL, then check custom routing rules, listening ports, and startup settings manually.
- For testing, use the same node, core, and routing mode as in the old version. Once your browser and usual apps work as expected, update your shortcuts or startup entry to point to the new version.
Test before replacing the old version. If the new one has problems, turn off its managed proxy and exit the tray app, then restore the retained old version and your backup.
Keep backups somewhere you control. Subscription URLs may contain access credentials, and node settings may include authentication details. When recording settings, note port numbers, group names, and routing modes. When asking for help, don’t include full subscription URLs or node credentials in screenshots or logs.
Common installation and switching issues
The tutorial uses WPF screenshots. Can I follow it with Avalonia?
You can follow the same steps, but the buttons may be in different places. Find subscription groups and the node list in the main window, system proxy options in the tray menu, and local listening settings under “Settings” → “Parameter settings.” If you can’t find an option, check the tutorial’s version against your app before copying settings files from the old version.
The same node won’t connect after switching editions. Should I recreate my subscription?
Leave the subscription alone for now. Confirm that both versions have the same node selected, then compare the proxy core and its version, routing mode, and startup logs. If the logs show a local port conflict, exit the old version and try again. If the core starts but apps still can’t connect, check the system proxy or the app’s own proxy settings.
Can I use the same desktop app configuration folder on another computer?
It’s safer to share the subscription URL and update each device separately. Don’t have two app instances read and write to the same folder at the same time. When moving between operating systems, check the core path, startup settings, and proxy configuration again. If you need custom rules, record their order and outbound settings separately, then verify each one on the new device.
Why is Windows still using the proxy after I close the main window?
Check the notification area in the taskbar first—the app may still be running in the tray. Use “System proxy” in the tray menu to clear the proxy settings managed by the client, then exit the app. Check the Windows proxy page afterward. If your workplace or school provided a proxy, restore its original settings instead of disabling every proxy entry.