Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installing

Releases are on the project’s GitHub releases page:

FileWhat it is
quitlock-<version>.apkThe phone app
quitlock-<version>-linux-x86_64The command-line tool for Linux
quitlock-<version>-windows-x86_64.exeThe command-line tool for Windows
SHA256SUMSChecksums of all of them
  1. Check the downloads: sha256sum -c SHA256SUMS --ignore-missing. Releasing shows how to check further, down to rebuilding a release from the source.
  2. Put the CLI on your path, named quitlock (quitlock.exe on Windows). On Linux: chmod +x it and move it to ~/.local/bin/quitlock.
  3. Get adb (Android’s platform tools) for setting the phone up. The CLI finds it on your path, or takes --adb <path>. After setup, Linux needs no adb at all.
  4. Linux only: let your user open the phone over USB. quitlock setup offers this when it is needed; on its own, run quitlock setup --udev. It shows a udev rule for /etc/udev/rules.d/70-quitlock.rules and, if you agree, writes it with sudo. Unplug the phone and plug it in again afterwards.

You do not need to install the APK yourself: quitlock setup (or quitlock provision) installs it, and refuses a QuitLock APK that is not signed with the release key. It can also download the latest release itself, checked against its SHA256SUMS.

Then: Setting up a phone.