Start with a simple token setup. When ready, you can register Localtonet as a service. See Termux and VPN notes below.
This one-liner detects your CPU/OS, downloads the correct build, and installs to /usr/local/bin/localtonet
.
curl -fsSL https://localtonet.com/install.sh | sh
/usr/local/bin
and managing system services typically require administrative privileges.Authenticate this device using a token from Dashboard → My Tokens:
localtonet --authtoken <YOUR_TOKEN>
The token is stored locally for the current user and can be rotated or revoked anytime from the dashboard.
Prefer a manual setup? Download the archive that matches your system, extract, and give execute permission.
Example (x64, glibc):
wget https://localtonet.com/download/localtonet-linux-x64.zip
unzip localtonet-linux-x64.zip -d ~/localtonet
chmod 755 ~/localtonet/localtonet
# optional: move to PATH (requires sudo) # sudo mv ~/localtonet/localtonet /usr/local/bin/localtonet # authenticate:~/localtonet/localtonet --authtoken <YOUR_TOKEN>
To use your Localtonet app as a Service, check out the blog here.
Termux is not systemd-based, so service commands are not supported. VPN is also not available in Termux.
localtonet.deb
.pkg
, then run localtonet
.wget https://localtonet.com/download/localtonet-termux.zip
unzip localtonet-termux.zip
pkg install ./localtonet.deb
localtonet --authtoken <YOUR_TOKEN>
--install-service
, --start-service
, etc., are not supported.localtonet --help
— Localtonet Linux & Termux Guide