V2Ray client for Windows, macOS, Linux and Android

“V2Ray” today means a family of configs rather than one program: vmess://, vless://, trojan:// and ss:// links and the subscriptions that V2Ray and Xray servers hand out. Any client built on Xray or sing-box opens them. v2rayNG is an Android app, so on Windows, macOS or Linux you need a desktop client that takes the same links and subscription addresses; the configs themselves don't change.

Updated

On this page

What people mean by “v2ray”

V2Ray is an open proxy platform: its own protocol is VMess, and VLESS was born there too. Xray is a fork of V2Ray that added XTLS Vision and Reality, and sing-box is a separate core that speaks the same protocols. Most clients today run on Xray or sing-box, and they all read the same links.

In everyday speech a “v2ray config” is one such link, and a “v2ray subscription” is an https:// address where a service hands out its whole list of links, usually encoded in base64. The client doesn't have to be called v2ray: what matters is that it understands the protocols in your links and can read a subscription.

What a v2ray config looks like

  • vmess:// — VMess. After the scheme comes base64-encoded JSON, so the link looks like a jumble of letters. Often WebSocket with TLS.
  • vless:// — VLESS, usually with security=reality: the connection looks like a visit to a real website.
  • trojan:// — Trojan: a password and a server, inside ordinary TLS.
  • ss:// — Shadowsocks; Outline keys are the same thing.
  • hysteria2:// or hy2:// — Hysteria2 on QUIC, good on lossy mobile networks. It often comes in the same subscriptions.
  • https://… — a subscription: the whole server list, which the client refreshes by itself.
  • The name — the text after # is the server's name in the list. Copy a link whole, and keep it to yourself: whoever has it can use your server.

Why there is no v2rayNG for Windows

v2rayNG is made for Android only. Builds offered as “v2rayNG for PC” are either an Android emulator or somebody else's repackaging, and you need neither: a config is not tied to an app. The same vmess:// or vless:// link works in any client, on any system, that supports its protocol.

So the answer to “v2rayNG for Windows” is a desktop client on Xray or sing-box that can paste links and read subscriptions. One subscription can live on your phone and your computer at once; if the service limits devices, each takes a slot. Check one thing: whether the client opens every protocol in your subscription. Many mix VLESS, VMess, Trojan, Shadowsocks and Hysteria2 servers, and a client that skips some simply shows a shorter list.

Windows: step by step

  1. 1

    Download the installer

    Windows 10 or 11 on an x64 processor. An ordinary installer: download it and run it. If Windows says “Windows protected your PC”, that is SmartScreen: click “More info”, then “Run anyway”.

  2. 2

    Paste the config

    While there are no profiles, the Add window is already open. Paste a vmess:// or vless:// link, several links each on its own line, or the subscription address, and press “Continue”. Copied it beforehand? The window offers to paste it from the clipboard.

  3. 3

    Let the app install the module

    VLESS, VMess, Trojan and Shadowsocks need the sing-box or Xray module. The first time, the app offers to install it: click “Install”.

  4. 4

    Connect

    Click “Connect” in the server's row in Profiles, or press the big button on Home. Autostart is already on, so Windows doesn't ask for permission on every launch. The kill switch is off at first: turn it on on Home or in Settings → Security, and nothing goes past the tunnel if the connection drops.

macOS and Linux: step by step

  1. 1

    Pick the build

    macOS 12 Monterey and newer: one universal build for Apple Silicon and Intel. Linux: the .deb package for Ubuntu, Debian and Mint, the AppImage for any supported system: Ubuntu 24.04 and newer, Debian 13, Linux Mint 22, Fedora 40 and newer or Arch, on x64. On Ubuntu 22.04 and Debian 12 the app won't start.

  2. 2

    Open it the first time

    If macOS says it cannot verify the app, open System Settings → Privacy & Security, find the line about Veli Client and click “Open Anyway”. This is needed once.

  3. 3

    Install the system component

    The tunnel can't come up without it: press the button in the notice at the top of the window and enter the system password. It is installed once.

  4. 4

    Paste the link or subscription

    The Add window is open right away: paste and press “Continue”. A config file can be dragged into the window.

  5. 5

    Connect

    Click “Connect”. To keep anything from going past the tunnel if the connection drops, turn on the kill switch on Home or in Settings → Security.

Android and Android TV

  1. 1

    Install the APK

    Android 8.0 or newer. The phone asks whether apps from this source may be installed: allow it.

  2. 2

    Add the config

    Profiles → Add: paste the link or the subscription address and tap “Continue”, or use “Scan a QR code”. A profile from your computer moves over by QR code: on the computer, the profile's menu → “QR code for the phone”.

  3. 3

    Tap the big button

    The first time, the system asks for VPN permission. The button turns green and the speed shows under it: the VPN is working.

  4. 4

    On a TV

    Install the Android TV build, also from Android 8.0. Choose “From a phone”, point the phone's camera at the code on the screen and paste the link or subscription on the page that opens. The phone must be on the same home network as the TV.

If the config won't connect

  • The link got cut — chats often lose the end of a long link. Copy it again, whole, with no spaces or line breaks.
  • VMess and the clock — VMess checks the time, and a clock that is off by more than a minute and a half breaks it. Turn on automatic time on the device.
  • An encrypted happ://crypt… link — it can't be read outside its own app. Take the regular subscription address from your account with the service; it starts with https://.
  • It works on one network and not another — that network doesn't pass this server or protocol. Try another server from the subscription: Reality on TCP for strict networks, Hysteria2 for lossy mobile data.
  • TLS fragmentation — it helps some TLS profiles but breaks Reality and Hysteria2: if a client applies it to them, turn it off. Veli's switch leaves them alone by itself.
  • A JSON config instead of a link — on a computer a sing-box or Xray .json goes in through “Open a file”. On a phone ready-made sing-box and Clash configs don't connect: ask the service for links or a subscription address.

In Veli

The same configs on every system

Veli opens what V2Ray and Xray services hand out: vmess://, vless://, trojan://, ss://, hysteria2:// and tuic:// links, base64 and Clash subscriptions, and the link of an “Add to…” button. All of it goes into one field, Profiles → Add. VLESS, VMess, Trojan, Shadowsocks and Hysteria2 connect on Windows, macOS, Linux and Android; TUIC on a computer only. A subscription becomes its own group in Profiles and refreshes itself, the group header shows traffic and days left if the service reports them, and “Fastest” connects to the server with the lowest latency.

Need the same subscription in another format, or a QR code of one link for a phone? The free converter at /tools/subscription/ turns links, base64, Clash / mihomo and sing-box configs into one another right in the browser, and nothing you paste is sent to a server. Veli itself doesn't need it: it reads all of these as they are.

FAQ

Is there v2rayNG for Windows?

No, v2rayNG is made for Android. On a computer use a desktop client that opens the same vmess:// and vless:// links and subscriptions; the configs stay the same.

Will my v2ray subscription work on a computer?

Yes: a subscription is an https:// address with a list of links, and any client that reads subscriptions downloads it. If the service counts devices, the computer takes one slot.

Which systems does Veli run on?

Windows 10 and 11 on x64, macOS 12 and newer on Apple Silicon and Intel, Ubuntu 24.04 and newer, Debian 13, Linux Mint 22, Fedora 40 and newer and Arch, and Android 8.0 and newer, Android TV included.

Does Veli come with v2ray configs?

No. Veli is a client: it opens the links and subscriptions of your VPN service, or installs a VPN on a server you rent.

Your v2ray config on every system

Paste a vmess:// or vless:// link or a subscription into Profiles → Add on Windows, macOS, Linux or Android.