Linux support for the Claude desktop app is in beta.
Requirements
- Ubuntu 22.04 or later, or Debian 12 or later
- x86_64 or arm64
Cowork requirements
Cowork is the desktop tab for Dispatch and longer agentic work. On Linux, Cowork runs those tasks in a virtual machine that the desktop app hosts with QEMU and KVM. To use Cowork, your machine needs:- Hardware virtualization: turned on in your firmware settings. Without it, the Cowork tab reports “Cowork requires hardware virtualization (KVM)”.
- QEMU and UEFI firmware:
qemu-system-x86,ovmf, andvirtiofsdon x86_64, orqemu-system-arm,qemu-efi-aarch64, andvirtiofsdon arm64.apt install claude-desktopinstalls them by default as recommended packages. If you installed with--no-install-recommends, or your system is a minimal image that skips recommended packages, the Cowork tab reports “Cowork requires QEMU” and shows theapt installcommand to run. Ubuntu 22.04 has novirtiofsdpackage; the app uses a bundled copy there. - Access to
/dev/kvm: add your user to thekvmgroup withsudo usermod -aG kvm $USER, then log out and back in. Some desktop environments grant the logged-in user access to/dev/kvmwithout the group, but Cowork also needs/dev/vhost-vsock, which onlykvmgroup members can open. Join the group even if/dev/kvmalready works for you.
/dev/vhost-vsock is missing and your running kernel has no module directory under /lib/modules, the Cowork tab reports that the kernel doesn’t include the virtualization support Cowork needs and that it can’t be added manually. This combination is common on ChromeOS and in container-based Linux environments.
Install
Install from Anthropic’s apt repository so that updates arrive through your system’s regular package updates. Open a terminal and run the commands in each step.1
Add Anthropic's apt repository
This step downloads the signing key with Download Anthropic’s signing key:The command prints nothing when it succeeds and a The fingerprint gpg prints should be
curl and verifies it with gpg, which fresh Debian and Ubuntu installations may not include. If either command reports command not found, install both first:curl: error when it doesn’t. A missing or wrong key makes apt update fail later with NO_PUBKEY BAA929FF1A7ECACE, so confirm the key downloaded and belongs to Anthropic before continuing:31DDDE24DDFAB679F42D7BD2BAA929FF1A7ECACE. If gpg reports that the file can’t be opened or contains no valid OpenPGP data, the download failed or returned the wrong content: confirm your network can reach downloads.claude.ai, then rerun the download command.Register the repository:2
Install the package
3
Launch and sign in
Launch Claude from your application launcher, or run
claude-desktop from a terminal, and sign in with your Anthropic account.The Linux app signs in the same way as on macOS and Windows: with a claude.ai subscription, or through your organization’s SSO. Desktop doesn’t accept a Claude Console API key directly; use the CLI for API-key authentication. For enterprise deployments that route Desktop to Google Cloud’s Agent Platform or an LLM gateway, see Claude Desktop on 3P and network configuration.Install from a downloaded file
If you can’t install through the apt repository, download the.deb package directly from the repository’s package pool. This command looks up the newest package for your architecture in the repository index, then downloads it to the current directory:
Remote file name has no length, the lookup returned no package path. This can mean the repository index couldn’t be fetched, for example when your network blocks downloads.claude.ai, or that no package exists for your architecture. Confirm that your network can reach downloads.claude.ai and that dpkg --print-architecture prints amd64 or arm64; the repository doesn’t publish packages for other architectures.
To install without registering Anthropic’s apt repository, first create /etc/default/claude-desktop with the line CLAUDE_DESKTOP_ADD_REPO="false". Without the repository, apt doesn’t deliver new versions; to update, re-run the download command and reinstall, or register the repository later.
Then open the downloaded file with your software installer, such as GNOME Software, or install it with apt from the directory that contains the downloaded file:
E: Unsupported file ./claude-desktop_*.deb given on commandline, the pattern didn’t match a .deb file in the current directory. Confirm the download completed, then run the command again from the directory that contains the file.
Installing the .deb also registers Anthropic’s apt repository at /etc/apt/sources.list.d/claude-desktop.list, so future updates arrive with your system’s regular package updates.
Update
The desktop app doesn’t update itself on Linux. Updates arrive with your system’s regular package updates:Uninstall
Troubleshoot
Unable to locate package claude-desktop
Ifsudo apt install claude-desktop fails with E: Unable to locate package claude-desktop, apt didn’t find the repository you added. Check the following:
- Run
sudo apt updateafter adding the repository.apt installon its own doesn’t see a repository you added after the last time you ranapt update. - Confirm the repository entry was written.
cat /etc/apt/sources.list.d/claude-desktop.listshould show thedebline from the Add Anthropic’s apt repository step. If the file is empty or missing, run that step again. - Confirm your architecture is supported.
dpkg --print-architectureshould printamd64orarm64. The repository doesn’t publish packages for other architectures. - Run
sudo apt updateagain and check its output for errors related todownloads.claude.ai. A network or key error there means the repository was added but couldn’t be reached or verified.
Unmet dependencies
Ifapt stops with The following packages have unmet dependencies or Unsatisfied dependencies, read which dependency it names:
libc6 (>= 2.34): your distribution is older than the package supports. Ubuntu 20.04 shipslibc62.31. Upgrade to Ubuntu 22.04 or later, or Debian 12 or later.- All missing dependencies show
not installablewith an:amd64or:arm64suffix: you downloaded the.debfor a different architecture than your machine’s. Rundpkg --print-architectureand download the matching.deb, or install from the apt repository, which selects the package for your architecture.
Running as root without —no-sandbox is not supported
Ifclaude-desktop exits with this message, you launched it as root. Log in as a regular user and launch it from there.
Cowork isn’t available
If the Cowork tab shows one of these messages, fix the requirement it names, then restart the app:- Cowork requires QEMU: install the QEMU and UEFI firmware packages the message lists.
- Cowork requires hardware virtualization (KVM): turn on hardware virtualization in your firmware settings.
- Claude doesn’t have permission to use virtualization (/dev/kvm): add your user to the
kvmgroup, then log out and back in. - Cowork requires the
vhost_vsockkernel module: runsudo modprobe vhost_vsock, then restart the app. That loads the module for the current boot only. To load it on every boot, runecho vhost_vsock | sudo tee /etc/modules-load.d/vhost_vsock.conf.
What’s not in the Linux beta yet
- Computer Use: app and screen control isn’t available on Linux.
- Dictation: voice input isn’t available in the Linux desktop app. Use voice dictation in the CLI instead.
- Quick Entry global hotkey: works on X11. On native Wayland it requires your desktop environment’s GlobalShortcuts portal.
- Fedora and RHEL: only Debian-based distributions are supported today. Support for additional distributions is coming in the future.