Repository navigation
Install on Linux
The Linux edition is the PS5 app on Linux: the same TV dashboard, Chat, voice, Models page, API keys, Tailscale and web search, with the console's own pieces (picture, controller, on-screen keyboard, audio) taken from Linux instead. It runs on a PS5 running Linux and on any Linux PC with a Vulkan GPU.
Linux on a PS5 adds things the console can't do: more memory for models (about 12 to 13 GiB instead of the title's 11.4 GiB, which fits 14B models), all 8 CPU cores, fan and clock control, and 36, 38 or 40 GPU compute units. See PS5 hardware on Linux.
The Linux edition is new. Its packages come from the
linux-latestpre-release and thelinux-v*releases; the PS5 title's releases are separate. If something here doesn't match what you see, open an issue.
Five steps. Copy each command, paste it in a terminal on the PS5 (or over SSH), press Enter.
Before you start: your PS5 already boots Linux (see step 1 below if it doesn't). On a Linux PC, skip to step 2.
vulkaninfo --summary | grep -i deviceNameYou should see a line with RADV GFX1013 (on a PC: your graphics card).
"vulkaninfo: command not found"? Install it first: sudo apt install vulkan-tools (Fedora: sudo dnf install vulkan-tools, Arch: sudo pacman -S vulkan-tools), then run the line again.
Nothing, or an error? Your Mesa is too old. You need Mesa 25.3 or newer. See Linux on the PS5, point 2.
Pick one line, the one for your system:
Debian or Ubuntu
curl -LO https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation_latest_amd64.deb && sudo apt install ./tokenstation_latest_amd64.debFedora
sudo dnf install https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest.x86_64.rpmArch
curl -LO https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest-x86_64.pkg.tar.zst && sudo pacman -U ./tokenstation-latest-x86_64.pkg.tar.zstBazzite, SteamOS, or anything else (no sudo; it asks for your password when it needs it)
curl -L https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest-linux-amd64.tar.gz | tar xz && cd tokenstation-*-linux-amd64 && ./install.shIt asks for your password once. When it finishes, it's installed.
The install gives the GPU as much memory as possible, and that only takes effect after a restart.
sudo rebootThen boot Linux again the way you always do (run the Linux loader again).
- With a screen and desktop: open TokenStation5 from the app menu.
-
Over SSH, or no desktop: type
That's the terminal app. Press F2 for Models.
ts5-tui
- In the app: go to Models, pick Qwen3 8B, press the button to download it (about 5 GB). When it's done, go to Chat and type.
-
In the terminal app: type
/download qwen3-8band press Enter (or F2, pick Qwen3 8B under ⇣ Download, Enter). A bar shows the progress. When it's done, select it on the same page and press Enter to load it, then chat on F1. Every other tested model is on the same list (/download qwen3-14bfor the best answers, about 9 GB). Which one to pick: Models tested on PS5.
That's it. To update later, run your step 2 line again.
| What you see | What to do |
|---|---|
| "no Vulkan device" or no RADV GFX1013 | Mesa is too old: you need 25.3 or newer (step 1). |
| A 14B model won't load, "not enough memory" | Did you restart after installing (step 3)? Check with tokenstation-memory status. Or use a smaller model (Qwen3 8B). |
ts5-tui: command not found |
Close the terminal and open a new one. Portable install: log out and back in once. |
| The app won't open over SSH | Normal: the app needs a screen. Use ts5-tui over SSH. |
| Anything else | Troubleshooting, or open an issue with what you typed and what it printed. |
The rest of this page has the details: what each install does, running it on the TV with no desktop, and the API-only service.
The Linux build is new and needs people to try it on their own machines: a PS5 running Linux, or any Linux PC with a Vulkan GPU. Install it with one command (the details for each system are in step 2):
| System | Command |
|---|---|
| Debian 12/13, Ubuntu | curl -LO https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation_latest_amd64.deb && sudo apt install ./tokenstation_latest_amd64.deb |
| Fedora | sudo dnf install https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest.x86_64.rpm |
| Arch | curl -LO https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest-x86_64.pkg.tar.zst && sudo pacman -U ./tokenstation-latest-x86_64.pkg.tar.zst |
| Bazzite, SteamOS, others |
curl -L https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest-linux-amd64.tar.gz | tar xz && cd tokenstation-*-linux-amd64 && ./install.sh (as yourself, not sudo) |
The same commands always fetch the newest build, so run them again to update.
Tell us how it went: open an issue titled "Linux test: ", with:
- Your distribution and version, and the machine (PS5 or the PC's GPU).
- The GPU line from
vulkaninfo --summary(on a PS5 it should say "RADV GFX1013"). - Anything the install printed that looked wrong.
- One speed line:
ts5 bench -m <model.gguf> --pp 512 --tg 128with any model you have. - What worked, and what didn't.
Linux on the PS5 comes from other projects, and TokenStation5 doesn't boot or unlock anything itself:
- ps5-linux-loader and a Linux image, booted from a USB SSD or a Linux-only M.2 drive. Follow its README. Firmware 3.00 to 13.60 only; don't update the console's firmware. etaHEN and kstuff must be off. The loader is re-run on every boot.
-
A Mesa new enough for the PS5's GPU: Mesa 25.3 or newer. Debian 12's Mesa (22.3) does not know the chip, and ts5 then reports no Vulkan device. What works: Debian 13 with Mesa from
trixie-backports, Fedora, Ubuntu 26.04, Bazzite/SteamOS. Check withvulkaninfo --summary: you want "RADV GFX1013". -
ps5-linux-tools, for
ps5_control(fan and clock boost). Itsps5boost.serviceturns the boost on at every boot; disable it (sudo systemctl disable --now ps5boost), because the boost off clocks are faster for models (see PS5 hardware on Linux). - Leave
vram.txton the image's FAT32 partition at its default (512 MB). Models go in GTT, system memory the GPU maps, whichtokenstation-memorysizes.
One build runs on Debian 12 and anything newer. The newest build is always at the linux-latest pre-release, under fixed names, so a PS5 can fetch it from the command line:
Debian 12 or 13, Ubuntu
curl -LO https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation_latest_amd64.deb
sudo apt install ./tokenstation_latest_amd64.debFedora
sudo dnf install https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest.x86_64.rpmArch
curl -LO https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest-x86_64.pkg.tar.zst
sudo pacman -U ./tokenstation-latest-x86_64.pkg.tar.zstBazzite, SteamOS and other immutable systems: the portable tarball installs into your home folder. Run it as yourself, not with sudo.
curl -L https://github.com/ThatRetiredDude/TokenStation5/releases/download/linux-latest/tokenstation-latest-linux-amd64.tar.gz | tar xz
cd tokenstation-*-linux-amd64
./install.shRun the same command again to update to the newest build.
It puts the app in ~/.local/opt/tokenstation, adds it to the app menu (and to Steam for Game Mode, when Steam is running), and asks for your password once to install the PS5 hardware controls. Log out and in once after. ./install.sh --no-hardware touches nothing outside your home; ./install.sh --uninstall removes everything except your models and settings. The services below come with the .deb, .rpm and Arch packages only.
On a PS5, the packages and install.sh also raise the GPU memory limit to "most available" the first time, which takes effect at the next boot.
On the desktop. Open TokenStation5 from the app menu. It fills the screen (F11 for a window) and works like the title, with the controller or the keyboard: arrows, Enter (cross), Esc (circle), F1 (square), F2 (triangle), F3 (OPTIONS), Page Up (L1), Page Down (R1, held to talk). Models, settings and chats are in ~/.local/share/tokenstation. To start it at login: cp /usr/share/applications/tokenstation.desktop ~/.config/autostart/.
On the TV with no desktop (the console experience, and the most memory for models):
sudo systemctl set-default multi-user.target
sudo systemctl enable --now tokenstation-tvIt runs full screen on the first text console with the controller, and keeps its models, keys and chats in /var/lib/tokenstation. Logs: journalctl -u tokenstation-tv -f and /var/lib/tokenstation/ts5.log.
API only (the engine alone, no screen):
sudo cp model.gguf /var/lib/tokenstation/models/
sudo systemctl enable --now tokenstation
curl http://localhost:8081/v1/modelsThe TV service and the API-only service can't both run (both take port 8081).
In a terminal over SSH, with any of the three: ts5-tui chats, switches and tunes models and shows the GPU memory, temperatures and fan live. See Using the terminal app.
/etc/default/tokenstation (kept on upgrades):
| Setting | Default | What it does |
|---|---|---|
MODEL |
empty | API-only: the model file. Empty: the first .gguf in MODELS_DIR. |
MODELS_DIR |
/var/lib/tokenstation/models |
API-only: where models live. |
HOST, PORT
|
0.0.0.0, 8081
|
API-only: where the API listens. |
CONTEXT |
8192 |
API-only: context length, or auto for what fits. |
PS5_BOOST |
0 |
Fan on, and the clock boost off (0, faster for models) or on (1). Skipped without ps5_control. |
PS5_CONTROL |
empty | Path to ps5_control if it isn't on the PATH. |
EXTRA_ARGS |
empty | API-only: more options for ts5 serve. |
The app's own settings are on its Settings page, as on the console, and engine settings go in ts5.env in its data folder.
Install the newer package the same way; your models, keys, chats and usage stay where they are. There is no apt, dnf or pacman repository yet.
- Recommended settings: what to run on a PS5, and which model
- Models: with the memory raised, 14B models fit
- PS5 hardware on Linux
- Using the terminal app (ts5-tui)
- Connecting apps
- Troubleshooting