# Linux

## Flatpak (Recommended)

If your system does not already have Flatpak installed, please do so by following the instructions on <https://www.flatpak.org/setup/>

Once Flatpak is installed (can test by running `flatpak` in the terminal), you will also need to install the [Flathub repository](https://flathub.org/) by running:

```bash
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
```

Now you can download the Cake Wallet Flatpak from the releases on GitHub <https://github.com/cake-tech/cake\\_wallet/releases> and select the Cake\_Wallet\_vX.X.X.flatpak file to download. (Example: Cake\_Wallet\_v4.18.2\_Linux.flatpak)

Assuming the Cake Wallet flatpak is in the Downloads directory, install it with:

```bash
flatpak install ~/Downloads/Cake_Wallet_v4.18.2_Linux.flatpak
```

(Change the version number to the one you downloaded.)

After confirming the installation, launch Cake Wallet from your shortcuts, or run it manually with:

```bash
flatpak run com.cakewallet.cake_wallet
```

## Manual (tar.xz)

Download the tar.xz release from GitHub <https://github.com/cake-tech/cake\\_wallet/releases> (Example: Cake\_Wallet\_v4.18.2\_Linux.tar.xz)

Extract the archive using your file explorer or from the terminal:

```bash
tar -xf Cake_Wallet_vX.X.X.tar.xz
```

Run the executable by right-clicking and selecting "Run" in your file explorer or starting it from the terminal:

```bash
./cake_wallet
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cakewallet.com/get-started/5.x/install/linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
