{
 "name": "cli",
 "title": "Terminal command — CLI",
 "path": "/en/doc/cli/",
 "toc": [
  {
   "level": 1,
   "text": "Terminal command — CLI",
   "anchor": "terminal-command-cli"
  },
  {
   "level": 2,
   "text": "Settings: onionpod config",
   "anchor": "settings-onionpod-config"
  },
  {
   "level": 2,
   "text": "Where root is needed",
   "anchor": "where-root-is-needed"
  }
 ],
 "updated": "2026-10-06",
 "content": "# Terminal command — CLI\n\nSince **v1.0.0** there is a terminal command that works **from anywhere**. You don't need to know where the source\nor `setup.sh` lives. You only need `setup.sh` for the **first installation**.\n\n```bash\nonionpod open            # open or unlock the box (like a double-click)   — also: onionpod start\nonionpod lock            # close the window, the box keeps running (locked with a lock password)\nonionpod stop            # quit the box completely (Tor + firewall too)\nonionpod status          # running? locked? version, language, source   (-v: detailed)\nonionpod check           # leak test (briefly starts the box if it is off)\nonionpod update          # look for updates and install them\nonionpod password        # set/change the lock password · --off · --reset\nonionpod config -l       # settings\nonionpod uninstall       # remove everything\nonionpod help [command]  # help\n```\n\nThe **Tab key** completes commands and settings: `onionpod up<Tab>` → `onionpod update`.\n\n## Settings: `onionpod config`\n\n```bash\nonionpod config -l                      # show all\nonionpod config --get lang              # read one value (short: onionpod config lang)\nonionpod config --set lang en           # set\nonionpod config --unset desktop-icon    # back to default\n```\n\n| Key | Values | What | Scope |\n|---|---|---|---|\n| `lang` | `de` · `en` | language for setup, starter and box | system (sudo) |\n| `desktop-icon` | `on` · `off` | icon on the desktop | user |\n| `tray` | `on` · `off` | 🧅 in the top bar | user |\n| `session` | `on` · `off` | [Session messenger](session.md) in the box — switching rebuilds the box (on: one-time ~15–20 min; off: Session data is kept) | system (sudo) |\n| `update.source` | path | where `onionpod update` gets the new version from | system (sudo) |\n| `lock` | `on` · `off` | display only — change with `onionpod password` | — |\n\n**Two places, on purpose:** anything security-related (box language, update source) is root-owned in\n`/etc/onionpod/config`. No program running as your user can slip the box a different update source this way.\nPure convenience (desktop icon, top bar) lives in `~/.config/onionpod/`. **Passwords** can never be shown or set via\n`config`.\n\n## Where root is needed\n\n`onionpod` runs as you. `update`, `uninstall`, `password` and system settings ask for sudo **themselves** — please\ndon't run `sudo onionpod …`. Box calls (`open`, `lock`, `stop`, `status`, `check`) use the same narrow sudo rule as\nthe starter, without a password prompt.\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": "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": "setup",
   "title": "setup.sh reference",
   "path": "/en/doc/setup/"
  },
  {
   "name": "troubleshooting",
   "title": "Troubleshooting",
   "path": "/en/doc/troubleshooting/"
  },
  {
   "name": "limits",
   "title": "Limits & security",
   "path": "/en/doc/limits/"
  }
 ]
}