Install on Linux
One static binary for any Linux distribution (Ubuntu, Debian, Fedora, Arch, Raspberry Pi OS and others) on x86-64, ARM64 and ARMv7, desktop or server. No dependencies.
Install
curl -fsSL https://idlepay.io/install.sh | sh
The installer:
- detects your CPU:
x86_64gets the amd64 build,aarch64gets arm64, andarmv7l,armv6landarmhfget the ARMv7 build; - downloads it over HTTPS and refuses to install if the SHA-256 checksum doesn't match;
- installs it to
/usr/local/bin/idlepay, usingsudoif needed.
It needs curl, and sha256sum or shasum. To install to another existing folder, set IDLEPAY_BIN_DIR, for example curl -fsSL https://idlepay.io/install.sh | IDLEPAY_BIN_DIR=/opt/bin sh.
Set up
sudo idlepay
Guided setup runs in three steps:
- Sign in. On a desktop your browser opens. On a server, or under sudo, it prints a link and a code: open the link on any phone or computer, sign in and approve the code.
- Choose what to share. Your own connection (yes by default), any VPN it finds, and proxies you paste in.
- Keep it running. Say Yes to install the systemd service. It starts on boot and restarts on failure.
Run sudo idlepay setup any time to change what you share. On headless servers you can skip the browser step with an enrollment key: see Fleets and enrollment keys.
Why sudo?
The systemd service runs as root and keeps its settings in /etc/idlepay/config.json, readable only by root. Commands that change what you share need sudo, for example sudo idlepay proxy add …. Without it you get "IdlePay runs as a background service on this machine — run this again with sudo". idlepay status works without sudo.
You can also run IdlePay without root and without the service: run idlepay as your user and answer No to keeping it running. It then shares only while that terminal stays open and keeps its settings in ~/.config/idlepay.
The systemd service
systemctl status idlepay # is it running? journalctl -u idlepay -f # follow the log sudo systemctl restart idlepay # restart it sudo idlepay service uninstall # remove the service, keep settings
The unit is /etc/systemd/system/idlepay.service. It runs idlepay run --service with Restart=always and systemd hardening (no new privileges, read-only system and home folders). It may only write to /etc/idlepay and the folder of the binary, so it can update itself. Don't edit the unit by hand: sudo idlepay service install rewrites it. See Background service.
Manual download
- idlepay_linux_amd64: x86-64
- idlepay_linux_arm64: ARM64 (Raspberry Pi 3, 4 and 5 with a 64-bit OS, AWS Graviton, Ampere)
- idlepay_linux_arm: ARMv7 (Raspberry Pi 2, or a 32-bit OS)
curl -fLO https://github.com/IdlePay/releases/releases/latest/download/idlepay_linux_amd64 curl -fLO https://github.com/IdlePay/releases/releases/latest/download/idlepay_linux_amd64.sha256 sha256sum -c idlepay_linux_amd64.sha256 sudo install -m 0755 idlepay_linux_amd64 /usr/local/bin/idlepay sudo idlepay
Raspberry Pi
Any Pi from the Pi 2 onwards works over Wi-Fi or Ethernet; Ethernet is steadier. Flash Raspberry Pi OS Lite, turn on SSH, log in and run the two commands above. The step-by-step Raspberry Pi guide has the details. A Pi uses very little power, so it's a good always-on box.
VPS and dedicated servers
Datacenter servers are welcome. They earn the datacenter rate ($0.05 per GB). Check that your hosting provider allows proxy traffic. Extra IPv4 addresses on the server can each earn on their own: sudo idlepay ip add 203.0.113.5. See the VPS guide and extra IPs.
Other ways to run it
- Docker: see the Docker guide.
- Many servers at once: see Fleets and enrollment keys.
- Without systemd: run
idlepay rununder your own supervisor (OpenRC, runit, supervisord, tmux). It restarts its own worker and updates itself.
To remove IdlePay, see Uninstall.