Linux
Pi GPUI on Linux
Pi GPUI is a native desktop GUI for the pi coding agent, and it runs on Linux: x86_64 and arm64, X11 and Wayland. It starts the pi you already have, with your models, extensions, skills and sessions. The Linux app is in beta.
Recorded on Ubuntu 24.04 in a VM. Model replies come from a local mock server so the take is repeatable; the app, edits and cargo test are real.
Install
$ curl -fsSL https://pi-gpui.dev/install.sh | sh
The script puts the app in ~/.local/pi-gpui.app, links ~/.local/bin/pi-gpui and adds Pi GPUI to your app launcher. Nothing needs root, and the app updates itself from GitHub releases ("Restart to update"). Set PI_GPUI_VERSION to install a specific version, or PI_GPUI_PREFIX to install somewhere other than ~/.local. The script is short enough to read first.
- pi 1.x, version 1.4 or newer. The app finds it in
PATHor your login shell, so nvm installs work. Log in to a provider in the app (Settings, or/loginin a chat) or with pi in the terminal. - glibc 2.35 or newer: Ubuntu 22.04, Debian 12, Fedora 36 or later.
- A Vulkan driver. Mesa's drivers work, including software rendering in a VM.
What's different from the Mac app
It is the same code as the Mac app. Only these parts differ:
- The window draws its own frame, shadow and buttons where the desktop lets it (GNOME, most Wayland compositors); otherwise your window manager's title bar is used.
- There is no menu bar: Settings, Check for Updates and Quit are under
…in the title bar. - Shortcuts use
Ctrlwhere the Mac app uses⌘. Compact isCtrl+Alt+C, soCtrl+Shift+Cstill copies, as in a terminal. Text fields follow the usual Linux keys. - Settings, projects and plugins live in
~/.config/pi-gpui. Deleted sessions go to the Trash throughgio,kioclientortrash-put. - Only one app runs per user:
pi-gpui /path/to/projector api-gpui://link opens in the running app.
Tested so far
Ubuntu 24.04 on arm64 in a VM, with GNOME on X11 and with Wayland under Weston. We have not tried other desktops, real GPUs or the x86_64 build on real hardware yet, which is why it is a beta. If something looks wrong, tell us your distribution and whether you use X11 or Wayland in issue #5.
Uninstall
$ rm -rf ~/.local/pi-gpui.app ~/.local/bin/pi-gpui ~/.local/share/applications/pi-gpui.desktop
With a custom PI_GPUI_PREFIX, remove the files from there instead. Your pi, its sessions and its credentials stay as they are. App settings are in ~/.config/pi-gpui.