> For the complete documentation index, see [llms.txt](https://docs.cakewallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cakewallet.com/get-started/install/linux.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
