Is there a desktop app for Claude Code on Linux?
A desktop app for Claude Code on Linux
Yes. Anthropic’s Claude desktop app runs on Ubuntu and Debian, in beta, and Trek runs where glibc is 2.35 or later, such as Ubuntu 22.04, Debian 12 and Fedora 36, as a preview. Other apps that run Claude Code beside other agents work on Linux too, such as Orca, T3 Code, Pane and Vibe Kanban, and the ranking of those apps compares them. Claude Code’s CLI supports Ubuntu 20.04, Debian 10 and Alpine 3.19 or later, with dnf packages for Fedora and RHEL. Here is how to install Claude Code and the two apps, and what each app doesn’t do on Linux yet.
Install Claude Code
Claude Code supports Ubuntu 20.04 or later, Debian 10 or later and Alpine Linux 3.19 or later, on x64 or ARM64, with 4 GB of memory or more. The install script works on all of them.
curl -fsSL https://claude.ai/install.sh | bash
On Alpine and other musl systems, install bash and curl first with apk add bash curl.
Anthropic also publishes signed apt, dnf and apk repositories for Debian, Fedora, RHEL and Alpine. On Debian or Ubuntu:
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL https://downloads.claude.ai/keys/claude-code.asc \
-o /etc/apt/keyrings/claude-code.asc
echo "deb [signed-by=/etc/apt/keyrings/claude-code.asc] https://downloads.claude.ai/claude-code/apt/stable stable main" \
| sudo tee /etc/apt/sources.list.d/claude-code.list
sudo apt update
sudo apt install claude-code
On Fedora or RHEL, add the dnf repository instead:
sudo tee /etc/yum.repos.d/claude-code.repo <<'EOF'
[claude-code]
name=Claude Code
baseurl=https://downloads.claude.ai/claude-code/rpm/stable
enabled=1
gpgcheck=1
gpgkey=https://downloads.claude.ai/keys/claude-code.asc
EOF
sudo dnf install claude-code
A package manager install doesn’t update itself through Claude Code. It updates with your system’s packages.
Anthropic’s Claude desktop app, in beta
Anthropic’s Claude desktop app runs on Linux in beta, with Chat, Cowork and Claude Code. Cowork is its part for longer agentic work, and on Linux it runs those tasks in a virtual machine that needs hardware virtualization (KVM). The app needs Ubuntu 22.04 or later or Debian 12 or later, on x86_64 or arm64. Add Anthropic’s signing key and repository, then install it with apt:
sudo apt install curl gnupg
sudo curl -fsSLo /usr/share/keyrings/claude-desktop-archive-keyring.asc \
https://downloads.claude.ai/claude-desktop/key.asc
echo "deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/claude-desktop-archive-keyring.asc] https://downloads.claude.ai/claude-desktop/apt/stable stable main" \
| sudo tee /etc/apt/sources.list.d/claude-desktop.list
sudo apt update && sudo apt install claude-desktop
Anthropic’s Linux page also shows how to check the key’s fingerprint before you trust it.
On Fedora, Arch and other distributions that aren’t Debian-based, Anthropic says to use the CLI instead. Computer use isn’t available on Linux.
If you also use Codex
The Codex CLI has its own install script. Codex uses bubblewrap for its sandbox, and without it falls back to a bundled helper that needs unprivileged user namespaces. Install it with sudo apt install bubblewrap on Debian or Ubuntu, or sudo dnf install bubblewrap on Fedora.
curl -fsSL https://chatgpt.com/codex/install.sh | sh
On Ubuntu 24.04, Codex may still warn that it can’t create a user namespace. OpenAI’s sandboxing page gives the fix, which loads AppArmor’s bwrap-userns-restrict profile.
OpenAI’s ChatGPT desktop app, where Codex now lives, is in preview on Linux, on Ubuntu 24.04 and 26.04, Debian 13, Fedora 43 and 44, and Arch.
With Trek
Trek runs on Linux as a preview, on x86_64 and arm64, with glibc 2.35 or later: Ubuntu 22.04, Debian 12, Fedora 36 or newer. It comes as an AppImage, a .deb or a .tar.gz. The install script picks the AppImage:
curl -fsSL https://trekdesktop.com/install.sh | sh
It puts Trek in ~/.local/bin/trek and adds it to your app menu. To install the .deb through apt instead:
curl -fsSL https://trekdesktop.com/install.sh | sh -s -- --deb
The AppImage updates itself. A .deb or tarball install tells you when a new version is out, for you to download. If GTK or WebKitGTK is missing, the AppImage names the library and the command that installs it.
On Linux, Trek runs Claude Code, Codex, OpenCode, Droid, Cursor, GitHub Copilot and other ACP agents, and API and local models in threads side by side, with the Inbox for approvals, git worktrees, each turn’s changes, line comments, the terminal and desktop notifications. KDE Plasma 6 starts a Wayland session by default, and GNOME 49 turns its X11 session off by default. On a Wayland desktop Trek runs through Xwayland, where the Browser works. Computer use needs an X11 session, and there it works in front.
Not on Linux yet: dictation, and browser extensions and ad blocking. Mac only: the iOS Simulator and computer use in the background.
Which fits
Anthropic’s app suits you on Ubuntu or Debian if Claude is your one agent and you want Cowork. Trek suits you if you run Claude Code beside Codex or other agents, or your distribution isn’t Debian-based. Other apps run on Linux too, such as Orca, T3 Code, Pane and Vibe Kanban, and the ranking compares them. The CLIs on their own work everywhere listed above.
Questions
Does Anthropic’s Claude desktop app update itself on Linux?
No. Anthropic says it doesn’t update itself on Linux. New versions come with your system’s package updates, through apt or your graphical software updater.
Can I dictate prompts on Linux?
Not in Anthropic’s desktop app, where dictation isn’t in the Linux beta yet. Anthropic points to voice dictation in the Claude Code CLI instead.
Is Trek finished on Linux?
No. Trek on Linux is a preview, and one part depends on your desktop. Trek keeps API keys in your desktop’s keyring, GNOME Keyring or KWallet, through the Secret Service. In a session with no keyring running, such as a bare window manager, it can’t save keys and says so rather than write them to a file. Keys exported in the shell Trek starts from still work.
Sources
- Set up Claude Code
- Claude desktop on Linux
- Codex CLI
- Codex sandboxing
- Claude Code’s Linux package repositories
- ChatGPT desktop app for Linux
- Download Orca
- Download T3 Code
- Pane
- Vibe Kanban release 0.1.47
- Getting started, Vibe Kanban docs
- KDE Plasma 6 announcement
- GNOME 49 release notes for developers
- Where Trek keeps keys (crates/trek-core/src/keychain.rs)