How to install GitHub Desktop on Ubuntu Linux

GitHub Desktop is a free open source GitHub.com app. It is Electron based and written in TypeScript and uses React. There is no official Linux installer from GitHub and it only provides Windows and MacOS installers. But you can install GitHub Desktop on various Linux distributions from GitHub Desktop fork shiftkey/desktop. In this this article we will see how to install GitHub Desktop on Ubuntu Linux

GitHub Desktop

Install GitHub Desktop on Ubuntu

Open the terminal command-line application (ctrl+alt+t) and run below commands one by one. It will install the latest version of GitHub Desktop on your system.

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
sudo apt install github-desktop
github-desktop

Install GitHub Desktop via DEB:

Download GitHub Desktop

You can also install GitHub Desktop via the native deb package file on Ubuntu. Download GitHub Desktop in .deb file format from the above download page and save it on your Downloads folder. Here the downloaded file name is “GitHubDesktop-linux-2.9.0-linux4.deb”. You can change below commands based on your downloaded file name. Open the terminal run below commands one by one.

cd Downloads
sudo dpkg -i GitHubDesktop-linux-2.9.0-linux4.deb
sudo apt install -f

[OR]

sudo apt install ./Downloads/GitHubDesktop-linux*.deb

Install GitHub Desktop via AppImage:

It is also available via the portable AppImage file format. Download GitHub Desktop in .AppImage file format from the below download link and save it on your Downloads folder.

Also Read:  How To Install Azure Storage Explorer On Ubuntu

Download GitHub Desktop

Open the terminal app and run below command one by one.

cd Downloads
sudo chmod +x ~ GitHubDesktop-linux-2.9.0-linux4.AppImage

Here “GitHubDesktop-linux-2.9.0-linux4.AppImage” is the downloaded file name . you can change below commands based on your file name.

./GitHubDesktop-linux-2.9.0-linux4.AppImage

Install GitHub Desktop via Flatpak:

Install flatpak and flathub on your system and restart it. After that open terminal app and run below GitHub Desktop flatpak installation command.

flatpak install flathub io.github.shiftey.Desktop

You can oprn GitHub Desktop via

flatpak run io.github.shiftey.Desktop

That’s it.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply