GitHub Desktop - The Linux Fork
GitHub Desktop is an open source Electron-based GitHub app. It is written in TypeScript and uses React.
What is this repository for?
This repository contains specific patches on top of the upstream
desktop/desktop
repository to support Linux usage.
It also hosts preview packages for various Linux distributions:
- AppImage (
.AppImage
) - Debian (
.deb
) - RPM (
.rpm
)
Check out the latest releases to help out with testing on your distribution.
packagecloud
We use PackageCloud for distributing the installers for Debian and RPM-based distributions. These are not free services, so if you can afford to help with these costs please Sponsor the project using the link in the header.
Debian/Ubuntu distributions
To setup the package repository, run these commands:
$ wget -qO - https://packagecloud.io/shiftkey/desktop/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null
$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list'
$ sudo apt-get update
Then install GitHub Desktop:
$ sudo apt install github-desktop
Red Hat/CentOS/Fedora distributions
To setup the package repository, run these commands:
$ sudo rpm --import https://packagecloud.io/shiftkey/desktop/gpgkey
$ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://packagecloud.io/shiftkey/desktop/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/shiftkey/desktop/gpgkey" > /etc/yum.repos.d/shiftkey-desktop.repo'
Then install GitHub Desktop:
# if yum is your package manager
$ sudo yum install github-desktop
# if dnf is your package manager
$ sudo dnf install github-desktop
Other Distributions
Arch Linux users can install GitHub Desktop from the AUR.
gnome-keyring
is required and the daemon must be launched either at login or when the X server is started. Normally this is handled by a display manager, but in other cases following the instructions found on the Arch Wiki will fix the issue of not being able to save login credentials.
More information
Please check out the README on the upstream GitHub Desktop project and desktop.github.com for more product-oriented information about GitHub Desktop.
License
The MIT license grant is not for GitHub's trademarks, which include the logo designs. GitHub reserves all trademark and copyright rights in and to all GitHub trademarks. GitHub's logos include, for instance, the stylized Invertocat designs that include "logo" in the file title in the following folder: logos.
GitHub® and its stylized versions and the Invertocat mark are GitHub's Trademarks or registered Trademarks. When using GitHub's logos, be sure to follow the GitHub logo guidelines.