Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 2.24 KB

README.md

File metadata and controls

40 lines (33 loc) · 2.24 KB

GitHub desktop install / update / uninstall script

This script is capable to download and install the most recent GitHub desktop version for your Linux system. It is also able to update and uninstall GitHub desktop. By default, the script will automatically check if an update is available. The script works with deb and rpm packages. If your system does not use deb or rpm packages, it will fall back to the available AppImage.

Usage

The installation script will be downloaded with curl and afterward executed.

Tool Command
curl bash -c "$(curl -fsSL https://raw.githubusercontent.com/kontr0x/github-desktop-install/main/installGitHubDesktop.sh)"
wget bash -c "$(wget -O- https://raw.githubusercontent.com/kontr0x/github-desktop-install/main/installGitHubDesktop.sh)"

Manual execution

It is always a good idea to inspect the script you are getting from the internet. Please feel free to first inspect the script and execute the script manually with bash.

# --------------------
# curl method
curl -fsSL https://raw.githubusercontent.com/kontr0x/github-desktop-install/main/installGitHubDesktop.sh -o installGitHubDesktop.sh
# wget method
wget https://raw.githubusercontent.com/kontr0x/github-desktop-install/main/installGitHubDesktop.sh
# --------------------
bash ./installGitHubDesktop.sh

Optional flags

Flag Description
-m (install | uninstall) Install or uninstall GitHub desktop.
-v Enable verbose mode.

Tested the script on:

  • Ubuntu 22.04.2 LTS, Mint 21.1
  • Ubuntu 24.04.1 LTS
  • Fedora 37 Workstation

The project came to life as a result of berkorbay's presumably discontinued gist page, which can be viewed here.

Please feel free to contribute.