3. Quick Start / Installation
Prerequisites
- Golang environment (Go 1.18+ recommended) if you plan to build from source.
- TON environment:
- A valid TON seed/private key for wallet usage.
- Internet connectivity and VPS hosting if you intend to run Node or VPN servers.
Installation Methods
From Binary Releases
If you have precompiled binaries:
- Download the appropriate binary for your OS (Windows, Linux, macOS).
- Make it executable (
chmod +x apivpn-clion Linux/macOS). - Run
./apivpn-cli versionto verify.
From Source
-
Clone the repository:
git clone https://your-git-repo-url.git
cd apivpn-cli -
Build the CLI:
go build -o apivpn-cli main.go -
Run
./apivpn-cli versionto confirm installation.