From 69332ae3b2fe712019d4caa181bec9946611d7a6 Mon Sep 17 00:00:00 2001
From: David Else
Date: Tue, 9 May 2023 13:38:36 +0000
Subject: Add Flathub as third party repository (#6994)

---
 book/src/install.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/book/src/install.md b/book/src/install.md
index 169e6e0b..2f770b1d 100644
--- a/book/src/install.md
+++ b/book/src/install.md
@@ -8,6 +8,7 @@
   - [Fedora/RHEL](#fedorarhel)
   - [Arch Linux community](#arch-linux-community)
   - [NixOS](#nixos)
+  - [Flatpak](#flatpak)
   - [AppImage](#appimage)
 - [macOS](#macos)
   - [Homebrew Core](#homebrew-core)
@@ -18,6 +19,9 @@
   - [MSYS2](#msys2)
 - [Building from source](#building-from-source)
   - [Configuring Helix's runtime files](#configuring-helixs-runtime-files)
+    - [Linux and macOS](#linux-and-macos)
+    - [Windows](#windows)
+    - [Multiple runtime directories](#multiple-runtime-directories)
   - [Validating the installation](#validating-the-installation)
   - [Configure the desktop shortcut](#configure-the-desktop-shortcut)
 <!--toc:end-->
@@ -88,6 +92,15 @@ If you are using a version of Nix without flakes enabled,
 [install Cachix CLI](https://docs.cachix.org/installation) and use
 `cachix use helix` to configure Nix to use cached outputs when possible.
 
+### Flatpak
+
+Helix is available on [Flathub](https://flathub.org/en-GB/apps/com.helix_editor.Helix):
+
+```sh
+flatpak install flathub com.helix_editor.Helix
+flatpak run com.helix_editor.Helix
+```
+
 ### AppImage
 
 Install Helix using the Linux [AppImage](https://appimage.org/) format.
-- 
cgit v1.2.3-70-g09d2