Please check the Releases page for the latest builds. Feedback on the packages and the build process is greatly appreciated! Please open an issue if you encounter any problems.
THIS IS AN UNOFFICIAL BUILD SCRIPT (produces only an .AppImage)!
If you run into an issue with this build script, make an issue here. Don't bug Anthropic about it - they already have enough on their plates.
This project was inspired by k3d3's claude-desktop-linux-flake and their Reddit post about running Claude Desktop natively on Linux. Their work provided valuable insights into the application's structure and the native bindings implementation.
Supports MCP!
Location of the MCP-configuration file is: ~/.config/Claude/claude_desktop_config.json
Supports the Ctrl+Alt+Space popup!

Supports the Tray menu! (Screenshot of running on KDE)

This project uses GitHub Actions to automatically build Claude Desktop AppImages for both AMD64 and ARM64 architectures. No local building is required - simply download the pre-built AppImages from the releases page.
- Go to the Releases page
- Download the appropriate AppImage for your architecture:
claude-desktop-*-amd64.AppImagefor x86_64 systemsclaude-desktop-*-arm64.AppImagefor ARM64 systems
For easier updates, you can use the included update.sh script:
# Download the update script
wget https://raw.githubusercontent.com/cono/claude-desktop-appimage/main/update.sh
chmod +x update.sh
# Run the update script (requires GitHub CLI)
./update.shThe script will:
- Check for the latest release
- Download the amd64 AppImage automatically
- Compare file hashes to avoid unnecessary downloads
- Back up your current binary as
claude-desktop-old - Make the new binary executable
Requirements: The script requires the GitHub CLI (gh) to be installed.
If you need to build locally for development purposes:
# Clone this repository
git clone https://github.com/cono/claude-desktop-appimage.git
cd claude-desktop-appimage
# Build the AppImage (cleans build files by default)
./build.sh
# Example: Keep intermediate files
./build.sh --clean no
The script will automatically:
- Check for and install required dependencies
- Download and extract resources from the Windows version
- Create an AppImage
- Perform the build steps
**AppImage login will not work unless you setup the .desktop file correctly or use a tool like AppImageLauncher to manage it for you.**
1. **Make the AppImage executable:**
```bash
# Replace FILENAME with the actual AppImage filename
chmod +x ./FILENAME.AppImage
```
2. **Run the AppImage:**
```bash
./FILENAME.AppImage
```
3. **(Optional) Integrate with your system:**
- Tools like [AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher) can automatically integrate AppImages (moving them to a central location and adding them to your application menu) using the bundled `.desktop` file.
- Alternatively, you can manually move the `.AppImage` file to a preferred location (e.g., `~/Applications` or `/opt`) and copy the generated `claude-desktop-appimage.desktop` file to `~/.local/share/applications/` (you might need to edit the `Exec=` line in the `.desktop` file to point to the new location of the AppImage).
#### --no-sandbox
The AppImage script runs with electron's --no-sandbox flag. AppImage's don't have their own sandbox. chome-sandbox, which is used by electron, needs to escalate root privileges briefly in order to setup the sandbox. When you pack an AppImage, chrome-sandbox loses any assigned ownership and executes with user permissions. There's also an issue with [unprivileged namespaces](https://www.reddit.com/r/debian/comments/hkyeft/comment/fww5xb1) being set differently on different distributions.
**Alternatives to --no-sandbox**
- Run claude-desktop as root
- Doesn't feel warm and fuzzy.
- Install chrome-sandbox outside of the AppImage(or leverage an existing install), set it with the right permissions, and reference it.
- Counter-intuitive to the "batteries included" mindset of AppImages
- Run it with --no-sandbox, but then wrap the whole thing inside another sandbox like bubblewrap
- Not "batteries included", and configuring in such a way that it runs everywhere is beyond my immediate capabilities.
I'd love a better suggestion. Feel free to submit a PR or start a discussion if I missed something obvious.
# Uninstallation
## AppImage (.AppImage)
If you used the AppImage:
1. Delete the `.AppImage` file.
2. Delete the associated `.desktop` file (e.g., `claude-desktop-appimage.desktop` from where you placed it, like `~/.local/share/applications/`).
3. If you used AppImageLauncher, it might offer an option to un-integrate the AppImage.
## Configuration Files (Both Formats)
To remove user-specific configuration files (including MCP settings), regardless of installation method:
```bash
rm -rf ~/.config/ClaudeAside from the install logs, runtime logs can be found in ($HOME/claude-desktop-launcher.log).
If your window isn't scaling correctly the first time or two you open the application, right click on the claude-desktop panel (taskbar) icon and quit. When doing a safe shutdown like this, the application saves some states to the .config/claude folder which will resolve the issue moving forward. Force quitting the application will not trigger the updates.
Claude Desktop is an Electron application packaged as a Windows executable. Our build script performs several key operations to make it work on Linux:
- Downloads and extracts the Windows installer
- Unpacks the
app.asararchive containing the application code - Replaces the Windows-specific native module with a Linux-compatible stub implementation
- Repackages everything into the user's chosen format:
- AppImage (.AppImage): Creates a self-contained executable using
appimagetool.
- AppImage (.AppImage): Creates a self-contained executable using
The process works because Claude Desktop is largely cross-platform, with only one platform-specific component that needs replacement.
The main build script (build.sh) orchestrates the process:
- Checks for a Debian-based system and required dependencies
- Parses the
--cleanflag to determine cleanup behavior. - Downloads the official Windows installer
- Extracts the application resources
- Processes icons for Linux desktop integration
- Unpacks and modifies the app.asar:
- Replaces the native mapping module with our Linux version
- Preserves all other functionality
- Calls the packaging script (
scripts/build-appimage.sh) to create the final AppImage.- For .AppImage: Creates an AppDir, bundles Electron, generates an
AppRunscript and.desktopfile, and usesappimagetoolto create the final.AppImage.
- For .AppImage: Creates an AppDir, bundles Electron, generates an
When a new version of Claude Desktop is released, the script attempts to automatically detect the correct download URL based on your system architecture (amd64 or arm64). If the download URLs change significantly in the future, you may need to update the CLAUDE_DOWNLOAD_URL variables near the top of build.sh. The script should handle the rest of the build process automatically.
For NixOS users, please refer to k3d3's claude-desktop-linux-flake repository. Their implementation is specifically designed for NixOS and provides the original Nix flake that inspired this project. Go check their repo out if you want some more details about the core process behind this.
Emsi has put together a fork of this repo at https://github.com/emsi/claude-desktop. Aside from approaching the problem much more intelligently than I, his repo collection is full of goodies such as https://github.com/emsi/MyManus. This repo (aaddrick/claude-desktop-debian) currently relies on his title bar fix to keep the main title bar visible.
The build scripts in this repository, are dual-licensed under the terms of the MIT license and the Apache License (Version 2.0).
See LICENSE-MIT and LICENSE-APACHE for details.
The Claude Desktop application, not included in this repository, is likely covered by Anthropic's Consumer Terms.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
