Install Localtonet on Linux
Start with a simple token setup. When ready, you can register Localtonet as a service. See Termux and VPN notes below.
1) Quick Install (Recommended)
This one-liner detects your CPU/OS, downloads the correct build, and installs to /usr/local/bin/localtonet.
Install script
curl -fsSL https://localtonet.com/install.sh | shWhy it may ask for sudo: Installing to
/usr/local/bin and managing system services typically require administrative privileges.2) Basic Usage (No Service)
Authenticate this device using a token from Dashboard → My Tokens:
Authenticate
localtonet --authtoken <YOUR_TOKEN>The token is stored locally for the current user and can be rotated or revoked anytime from the dashboard.
3) Manual Install (Direct Downloads)
Prefer a manual setup? Download the archive that matches your system, extract, and give execute permission.
glibc-based distros (Ubuntu, Debian, Fedora, RHEL, …)
- localtonet-linux-x64.zip (x64)
- localtonet-linux-arm64.zip (ARM64)
- localtonet-linux-arm.zip (ARM)
musl-based distros (Alpine, some containers)
- localtonet-linux-musl-x64.zip (x64)
- localtonet-linux-musl-arm64.zip (ARM64)
- localtonet-linux-musl-arm.zip (ARM)
Example (x64, glibc):
Manual install (user-space)
wget https://localtonet.com/download/localtonet-linux-x64.zipunzip localtonet-linux-x64.zip -d ~/localtonetchmod 755 ~/localtonet/localtonet# optional: move to PATH (requires sudo) # sudo mv ~/localtonet/localtonet /usr/local/bin/localtonet # authenticate:~/localtonet/localtonet --authtoken <YOUR_TOKEN>4) Service Mode (systemd)
To use your Localtonet app as a Service, check out the blog here.
5) Termux (Android) — Manual .deb Install
Termux is not systemd-based, so service commands are not supported. VPN is also not available in Termux.
- Download the Termux package: localtonet-termux.zip
- Extract it — you’ll get
localtonet.deb. - Install the package with
pkg, then runlocaltonet.
Termux install
wget https://localtonet.com/download/localtonet-termux.zipunzip localtonet-termux.zippkg install ./localtonet.deblocaltonet --authtoken <YOUR_TOKEN>- No service mode on Termux:
--install-service,--start-service, etc., are not supported. - VPN not available on Termux. To use Localtonet’s VPN on Android, install our official app from Google Play.
Command Line Help
Help
localtonet --help— Localtonet Linux & Termux Guide