How to install AI via Linux command line? Read this post to learn how to install Claus Code App in Linux command line.
Requirements to install Claude Desktop App in Ubuntu Linux Systems:
- Ubuntu 22.04 or later, or Debian 12 or later Systems
- x86_64 or arm64 System Architecture
Install Claude App via APT Repository
The first step is to install the required tools if missing or not installed. Run the following command to do so:
sudo apt install curl gnupg
Now run the following command to add Anthropic’s official GPG signing key:
sudo curl -fsSLo /usr/share/keyrings/claude-desktop-archive-keyring.asc https://downloads.claude.ai/claude-desktop/key.asc
Once the GPG Signing key is installed, now run the following command to set up the stable repository source:
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
Now in the final step, update the system package list and install Claude Desktop app using the following command:
sudo apt update && sudo apt install claude-desktop
Once installed, launch Claude from your application launcher, or run claude-desktop from a terminal, and sign in with your Anthropic account.
Uninstall Claude Desktop App From Ubuntu
To uninstall the Claude Desktop App from Ubuntu Linux Systems, run the following command:
sudo apt remove claude-desktop
For users who have installed via adding the repository entry, they can uninstall it using the following command:
sudo rm /etc/apt/sources.list.d/claude-desktop.list
Make a note that the Claude desktop app doesn’t update itself on Linux. You will have to do it manually.
