Utilizziamo i cookie per offrirti un servizio migliore e analizzare il traffico. Per saperne di più sui cookie, consulta la nostra Dichiarazione sui cookie. Continuando a navigare sul nostro sito web, accetti il nostro uso dei cookie.

Accetta
Gestisci

Impostazioni dei cookie

Utilizziamo i cookie per offrirti un servizio migliore e analizzare il traffico. Per saperne di più sui cookie, consulta la nostra Dichiarazione sui cookie.

Essenziale

Il nostro sito web si affida a questi cookie per un corretto funzionamento.

Funzionalità

Questi cookie sono utilizzati per conservare le tue preferenze, come la selezione della lingua.

Statistiche

I cookie ci permettono di ottenere informazioni sui nostri visitatori e migliorare la loro navigazione.

Pubblicità

Cookie utilizzati per tracciare le conversioni per le piattaforme pubblicitarie.

Conferma

La distribuzione gratuita di X‑VPN Premium sta avvenendo ora sul nostro subreddit!

La distribuzione gratuita di X‑VPN Premium sta avvenendo ora sul nostro subreddit!
Entra Ora

How to use X-VPN on Linux(Command Line)?

Ultima modifica il 2025-12-17

Download & Install X-VPN for Linux

Copy and run the curl command below for installation.

sh <(curl -sSf https://app.xvpncdn.com/4dzfjmwrjw/cli_install.sh)

Or, try the wget command below if you encounter any problems or just prefer to use wget.

sh <(wget -qO - https://app.xvpncdn.com/4dzfjmwrjw/cli_install.sh)

X-VPN Account

1. Log In

  • Log in with email & password

Use the following command to log in. A premium account is required to use X-VPN on Linux.

xvpn login

Then you need to enter your email and password, and you are all set!

  • Log in via passcode

Use the command below to log in via passcode.

xvpn login --via-passcode

Then you need to enter your passcode generated on other logged-in devices, and you are all set!

2. View Account Info

Copy and run the command below to view your account information.

xvpn account

3. Log Out

Copy and run the command below to log out of your current account.

xvpn logout

*If you want to change your password or unlink devices, please go to the Account Center.


X-VPN Location

1. Check X-VPN Locations

Use the following command to view the full list of X-VPN servers.

xvpn location

or

xvpn location --get

or

xvpn location -g

2. Update X-VPN Location List

Use the following command to update the latest list of servers.

xvpn location --update

or

xvpn location -u

X-VPN Protocol

1. Check X-VPN Protocols

Use the following command to view the full list of X-VPN protocols.

xvpn protocol

or

xvpn protocol --get

or

xvpn protocol -g

Connect to X-VPN

1. Fast Connect

Use the command below to connect to "The Fastest Server" and the "Auto" protocol.

xvpn connect 

or

xvpn c

Once you connect to X-VPN, you will see the following message:

2. Change Location & Protocol

Use the following command to change the location and protocol.

xvpn connect [location] -p [protocol]

or

xvpn connect -p [protocol] [location] 

3. Change Location Only

Use the location --set command. For example, to connect to the United States, run:

xvpn location --set "United States"

or

xvpn location -s us

4. Change Protocol Only

Use the protocol --set command. For example, to switch to UDP, run:

xvpn protocol --set UDP

or

xvpn protocol -s udp

5. Check Current Connection Status

Copy and run the command below to see your current connection status, including whether you're connected successfully, what location you are connected to, and what protocol you are using.

xvpn status

Disconnect from X-VPN

Copy and run the command below to disconnect from X-VPN.

xvpn disconnect

or

xvpn d

X-VPN Command UI

1. Use the Command UI Version of X-VPN

Copy and run the following command to use the UI version of X-VPN.

xvpn ui

After logging in your X-VPN premium account, you will see the main page as follows:

2. Operating on the UI Version

  • Manipulate the cursor position with the up, down, left, and right keys of the keyboard, and press Enter to select. You can connect and select the protocol and location with a simple cmd UI.
  • The 'Q' key functions as a back button and an exit button. Press 'Q' on the Location/Protocol selection page to return to the home page, and press 'Q' on the home page to exit the UI.

X-VPN Command help

Executing the xvpn command directly to get help content. You'll see all the X-VPN command lines here.

xvpn

For any further help, feel free to contact our support email: support@xvpn.io.

Questo articolo è stato utile?

Grazie per il tuo feedback!

Perché questo articolo non è stato utile?