{
 "name": "setup",
 "title": "setup.sh reference",
 "path": "/en/doc/setup/",
 "toc": [
  {
   "level": 1,
   "text": "setup.sh reference",
   "anchor": "setupsh-reference"
  },
  {
   "level": 2,
   "text": "Commands",
   "anchor": "commands"
  },
  {
   "level": 2,
   "text": "Options",
   "anchor": "options"
  },
  {
   "level": 2,
   "text": "Log",
   "anchor": "log"
  },
  {
   "level": 2,
   "text": "Other programs",
   "anchor": "other-programs"
  }
 ],
 "updated": "2026-10-05",
 "content": "# setup.sh reference\n\n`bash setup.sh` without a command shows the help. It runs as a normal user; everything that needs root happens in\n**one** sudo call.\n\n## Commands\n\n| Command | What it does |\n|---|---|\n| `--check` | check the environment (system, kernel, memory, disk space, packages) — changes nothing |\n| `--status` | what is installed (all parts with version), is the box running, lock on/off |\n| `--install` | first installation (asks first, installs missing packages, builds the box, trial run) |\n| `--update` | get a new version (git or package) + check Tor Browser → stop the box → install → build → trial run |\n| `--uninstall` | remove everything (asks whether the box data should go too) |\n| `--hl=de` / `--hl=en` | only switch the language — no rebuild |\n| `--lock-password` | set or change the lock password |\n| `--lock-password=off` | remove the lock password (old password + sudo) |\n| `--lock-password=reset` | forget the lock password (sudo only) |\n| `--desktop-icon=on` / `=off` | desktop icon on/off (no sudo) |\n\n## Options\n\n| Option | Effect |\n|---|---|\n| `--hl=de\\|en` | language for setup, launcher and box (remembered) |\n| `--verbose` | everything in detail instead of a progress bar |\n| `--yes` | answer all questions with the default (scripts, no terminal) |\n| `--force` | with `--update`: reinstall even if everything is up to date |\n| `--dry-run` | with `--uninstall`: only show what would be removed |\n\n## Log\n\nEvery run: `~/.local/state/onionpod/setup-<date>.log` — everything is in there, even without `--verbose`.\n\n## Other programs\n\n| Program | Purpose |\n|---|---|\n| `onionpod` | the terminal command (since v1.0.0) — see [Terminal command](./cli.md) |\n| `onionpod-open` | the launcher (same as the double-click); `onionpod-open --stop` stops the box |\n| `/opt/onionpod/bin/onionpod` | the box program (`start`, `stop`, `status`, `build`, `test`, `transit-open/-close/-verify`, `reset-tor`) — as user `onionpod` via sudo |\n",
 "siblings": [
  {
   "name": "index",
   "title": "Overview",
   "path": "/en/doc/"
  },
  {
   "name": "install",
   "title": "Install",
   "path": "/en/doc/install/"
  },
  {
   "name": "usage",
   "title": "Usage — Starter & Box",
   "path": "/en/doc/usage/"
  },
  {
   "name": "cli",
   "title": "Terminal command — CLI",
   "path": "/en/doc/cli/"
  },
  {
   "name": "transit",
   "title": "Vault “Transit” & downloads",
   "path": "/en/doc/transit/"
  },
  {
   "name": "session",
   "title": "Session Messenger",
   "path": "/en/doc/session/"
  },
  {
   "name": "lock",
   "title": "Lock password",
   "path": "/en/doc/lock/"
  },
  {
   "name": "architecture",
   "title": "Architecture",
   "path": "/en/doc/architecture/"
  },
  {
   "name": "leak-test",
   "title": "Leak test",
   "path": "/en/doc/leak-test/"
  },
  {
   "name": "troubleshooting",
   "title": "Troubleshooting",
   "path": "/en/doc/troubleshooting/"
  },
  {
   "name": "limits",
   "title": "Limits & security",
   "path": "/en/doc/limits/"
  }
 ]
}