Source: https://proxvn.io.vn/download

# Install ProxVN

Choose your operating system and run its installation command in a terminal. Install the client on the machine that can reach your app. You do not need to install a server to use the official public service.

## 1. Install the client

For Linux x86-64 or ARM64. You need ` curl `, trusted HTTPS certificates and ` sha256sum ` (or ` shasum `). On Ubuntu/Debian, install prerequisites if missing:

```
sudo apt-get update
sudo apt-get install -y curl ca-certificates coreutils
```

$` curl -fsSL https://proxvn.io.vn/install.sh | sh `

For a normal user, the installer uses ` ~/.local/bin `. When run as root, it uses ` /usr/local/bin `. Read the destination it prints.

The installer detects the supported operating system and processor and checks the client file against a SHA-256 checksum from the same HTTPS source before installing it. A checksum detects a mismatched file; it is not an independent publisher signature. To read the script first and understand each step, use the [client handbook](https://proxvn.io.vn/docs/client#install).

## 2. Check the installed command

$` proxvn version `

You should see the installed version. If the command is not found on Linux/macOS and the reported destination was ` ~/.local/bin `, add it to this terminal's PATH and check again:

```
export PATH="$HOME/.local/bin:$PATH"
command -v proxvn
proxvn version
```

PATH is the list of directories your terminal searches for commands. To keep the setting, add that export line to the startup file for your shell. On Windows, reopen PowerShell; if needed, run the installed command directly:

PS>` & "$env:LOCALAPPDATA\ProxVN\proxvn.exe" version `

If another version still runs, use ` command -v proxvn ` on Linux/macOS or ` Get-Command proxvn -All ` in PowerShell to find the older installation.

## 3. Connect a running app

Start your app first. If it works in a browser at ` http://localhost:3000 `, leave it running, open another terminal and run:

$` proxvn http 3000 `

Copy the public HTTPS address printed by ProxVN and test it from another device or mobile data. Replace ` 3000 ` with your app's actual port. Keep the app, client and machine online; press ` Ctrl+C ` in the client terminal to stop sharing.

A fresh official client uses ` tunnel.proxvn.io.vn:8882 ` by default. Installing from another website does not automatically change that built-in server. Existing configuration and command-line options can select a different server; follow the [private-server client instructions](https://proxvn.io.vn/docs/client#self-host) if that is your intention.

## 4. Attach your account when needed

You can try a guest tunnel when server policy allows it. To manage a tunnel in your account or request a reserved web name, sign in to the [Console](https://proxvn.io.vn/console/), copy your private API key and replace the placeholder below on your own machine:

$` proxvn login YOUR_PRIVATE_API_KEY `

Never publish your real key. The login command saves it locally; it does not test it against the server. Stop and restart your tunnel, then confirm it appears in the Console under **My tunnels**. If another configuration file or environment token is selected, follow the [configuration precedence guide](https://proxvn.io.vn/docs/client#config). Complete email verification if the server requests it.

Continue with the [step-by-step client walkthrough](https://proxvn.io.vn/blog/run-client) or the [full client handbook](https://proxvn.io.vn/docs/client) for other modes, persistent setup, updates and troubleshooting. To update the client, stop it and rerun the installer for your operating system, then check ` proxvn version ` again.

## Your own server: a separate installation

Only do this if you want to operate the relay yourself. You need an Ubuntu/Debian server with systemd, sudo access, a domain you control and correctly configured DNS and firewall rules. Hosting and domain costs are yours. Read the [complete server walkthrough](https://proxvn.io.vn/blog/self-host-server) before running the installer on that server, including installing curl, CA certificates and less to read the script.

Replace ` example.com ` with your own domain. This installs and configures server software; it is not the client installation command:

```
curl -fsSL https://proxvn.io.vn/install-server.sh -o /tmp/proxvn-install-server.sh
less /tmp/proxvn-install-server.sh
sudo bash /tmp/proxvn-install-server.sh --domain example.com --source https://proxvn.io.vn
```

Press ` q ` to leave ` less `. The server installer verifies its downloaded bundle using SHA-256 before replacing installed files. Follow the [server handbook](https://proxvn.io.vn/docs/self-host) for certificates, connecting clients, backups and safe upgrades.
