Installation¶
Install from PyPI¶
terminux runs on macOS 12 (Monterey) or later, Linux, and Windows 10/11, with Python 3.12 or later. On macOS 11 (Big Sur), installing or upgrading gets you 0.10.1, the last version that runs there. With uv:
uvx terminux # try it without installing
uv tool install terminux # install it
uv tool upgrade terminux # upgrade later
On Linux¶
The window needs GTK and WebKitGTK, with their Python bindings (PyGObject), from your distribution: PyPI can't provide them. Install them, then install terminux with pipx, which can let terminux see them (uv tool and uvx can't):
If something is missing, terminux says what to install and exits. Without GTK, terminux --no-window still works: it serves the same interface to any browser, at the URL it prints.
Without a display (in an SSH session, say), there is no window to open: run terminux --no-window, or terminux --server -d and connect to it from a machine with a display, as Remote access describes. terminux says so if you forget.
Requirements for running from source¶
- Python ≥ 3.12 and
uvfor the Python side. - Node.js: only to build the frontend. The build output is committed to
src/terminux/web/static/, so running from source does not require Node unless you change the frontend.
Run from source¶
uv sync # install Python dependencies
make frontend # build the web UI (needs Node; first run only)
uv run terminux # desktop window (pywebview)
uv run terminux -d # same, in the background (macOS, Linux)
To run the backend without the desktop shell (the dev/test path and a preview of the future web mode), use:
The printed URL contains a per-session token
(http://127.0.0.1:<port>/?t=<token>). That token is the only authentication,
so keep the URL private if you ever bind beyond loopback with --host.
Packaged app¶
terminux can be bundled into a self-contained desktop app that needs neither Python nor Node to run.
See Packaging & distribution for signing, Gatekeeper, X11, and architecture details.
First steps in the app¶
- terminux opens with a default workspace and one terminal tab.
- Press Cmd+N / Ctrl+N to create a workspace, Cmd+T / Ctrl+T for a new tab.
cdsomewhere: the workspace name follows the first tab's working directory until you pin a name by renaming it (pinned names persist across restarts).- Quit and relaunch: your workspaces and tabs come back, each shell respawned in the directory it was in at exit.
Continue with Workspaces & tabs.