How to Install GitHub Desktop on Fedora 40 or 39

GitHub Desktop streamlines your development workflow by providing a visually engaging and intuitive interface. This allows you to focus on what’s important: your code. Whether you’re a seasoned developer or just starting, GitHub Desktop offers features to enhance productivity and simplify projects.

Here’s why GitHub Desktop stands out:

  • Streamlined Workflow: Simplify your development process with a graphical interface that makes git commands user-friendly.
  • Repository Management: Easily clone, configure, and manage your repositories with a few clicks.
  • Branch Management: Create, list, and switch between branches with ease, facilitating better code management.
  • Collaboration Tools: Collaborate more effectively with pull requests and code reviews directly from the desktop application.
  • Commit History: Browse your commit history in a clear and organized manner, aiding in code tracking and review.
  • Merge Conflict Resolution: Visually resolve merge conflicts and ensure smooth integration of code changes.
  • Cross-Platform Compatibility: Use GitHub Desktop across different operating systems with the same consistent experience.
  • Customization Options: Tailor GitHub Desktop to your workflow with various customization options and integrations.

With these features at your fingertips, GitHub Desktop empowers you to focus on creating, testing, and deploying code, making your workflow as efficient as possible. Now, let’s dive into the technical how-to, guiding you through each step of the installation process.

Method 1: Install GitHub Desktop via RPM

Update Fedora Before GitHub Desktop Installation

Before installing GitHub Desktop, ensuring your Fedora system is up-to-date is essential to avoid potential conflicts. Open your terminal and enter the following command to check for any outstanding updates:

sudo dnf upgrade --refresh

Import GitHub Desktop RPM

GitHub Desktop doesn’t offer official support for Linux distributions; a community-driven project called Shiftkey/Desktop supports various Linux distributions, including Fedora. Currently, a Shiftkey RPM mirror is titled “GitHub Desktop Linux Fork”, making importing, installing, and keeping GitHub Desktop up-to-date accessible for Fedora users.

There are currently two RPM mirrors, and we recommend using the first one provided by Shiftkey. However, you can use the second one as a backup if you encounter any issues.

Here are the steps to install GitHub Desktop on Fedora Linux using the shiftkey third-party RPM:

Option 1: Import @shiftkey package feed:

First, import the GPG key using the following command:

sudo rpm --import

After importing the GPG key, use the following command to import the ShiftKey RPM repo:

sudo sh -c 'echo -e "[shiftkey-packages]\nname=GitHub Desktop\nbaseurl=\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=" > /etc/yum.repos.d/shiftkey-packages.repo'

Note: Try option two below if you have issues with the above repository.

Option 2: @mwt package feed:

First, import the GPG key using the following command:

sudo rpm --import

After importing the GPG key, use the following command to import the mtw-packages RPM repo:

sudo sh -c 'echo -e "[mwt-packages]\nname=GitHub Desktop\nbaseurl=\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=" > /etc/yum.repos.d/mwt-packages.repo'

Install GitHub Desktop via DNF Command

Finally, run the following command to install the GitHub Desktop client:

sudo dnf install github-desktop

Method 2: Install GitHub Desktop via Flatpak and Flathub

This section outlines a detailed procedure for installing GitHub Desktop on Fedora Linux utilizing Flatpak and the Flathub repository, an alternative to the DNF method.

Enable Flathub for GitHub Desktop

First, add the Flathub repository to your system to access various applications, including GitHub Desktop. Run the command below to add the Flathub repository to Flatpak if you haven’t done so already:

flatpak remote-add --if-not-exists flathub

This command adds the Flathub repository to Flatpak, allowing further interactions for installing applications.

Install GitHub Desktop via Flatpak Command

Having established Flatpak and Flathub, proceed with the installation of GitHub Desktop by running the following command:

This command triggers a search for the GitHub Desktop package within the Flathub repository and initiates its installation on your system.

Troubleshoot Flathub Activation

You may find it inactive despite importing Flathub on Fedora Linux in certain instances. Execute the following command to enable Flathub:

flatpak remote-modify --enable flathub

Launching GitHub Desktop

CLI Methods to Launch GitHub Desktop

If you prefer to use the terminal, open it and type the following command to launch the GitHub Desktop client immediately:


Alternatively, Flatpak installations will need to run the following:

flatpak run io.github.shiftey.Desktop

GUI Method to Launch GitHub Desktop

If you prefer to use the application icon, you can find it in the following path:

Activities > Show Applications > GitHub Desktop
Screenshot showcasing the successful installation of the GitHub Desktop client on Fedora Linux.
Installation Complete: GitHub Desktop Client Ready to Use on Fedora Linux

Additional GitHub Desktop Commands

Update GitHub Desktop

Keeping your GitHub Desktop client up-to-date is essential to ensure that you have access to the latest features and bug fixes. If you imported the RPM as outlined in this guide, updating GitHub Desktop is straightforward.

Run the following command using the DNF package manager to check for updates:

sudo dnf upgrade --refresh

Alternatively, to do the same function with Flatpak, run the alternative command:

flatpak update

This will check for updates for all applications installed via Flatpak, including GitHub Desktop.

Remove GitHub Desktop

DNF Remove Method For GitHub Desktop

If you no longer need to use GitHub Desktop and want to remove it from your system, you can do so with the following command:

sudo dnf remove github-desktop

Additionally, suppose you don’t plan to use GitHub Desktop again using the RPM method. In that case, you can remove the repositories using one of the following commands that match the repository you imported:

sudo rm /etc/yum.repos.d/shiftkey-packages.repo
sudo rm  /etc/yum.repos.d/mwt-packages.repo

Flatpak Remove Method

The method of removing GitHub Desktop from Flatpak is straightforward; just run this command, which will remove the application:

flatpak uninstall io.github.shiftey.Desktop


In this guide, we walked you through the steps to install GitHub Desktop on Fedora 40 or 39 Linux, ensuring you have the tools to manage your projects more efficiently. Now that you’re all set up dive into your coding confidently, leveraging GitHub Desktop’s user-friendly interface to streamline your workflow. Remember, staying updated with the latest version will help you make the most of its features, so keep an eye out for updates. Happy coding!

Useful and Relevant Links

Here are some valuable links related to using GitHub Desktop:

  • GitHub Desktop Official Website: Visit the official GitHub Desktop website for information about the application, its features, and download options.
  • GitHub Desktop Help: Access comprehensive help documentation for detailed guides on installing, configuring, and using GitHub Desktop.
  • GitHub Desktop Release Notes: Explore the release notes to learn about the latest updates, features, and bug fixes in GitHub Desktop.
Joshua James
Follow me

Leave a Comment