The GitHub Desktop is a git application that is free to use. This application supports attributing commits with collaborators, checkout branches with pull requests, etc. With this tool, you’ll have an easier time working on your projects without depending on your browser.
In the following tutorial, you will learn how to install GitHub Desktop on Manjaro 21 Linux. The tutorial will use the command line terminal with yay AUR helper. Ideally, most users may be using some wrapper for Pacman; for new users, it is essential to install one to keep your packages up-to-date while you learn Arch/Manjaro.
Table of Contents
Before you begin, make sure your system is up-to-date to avoid any conflicts during the installation, and for good practice, use the terminal command as follows.
sudo pacman -Syu
Install yay Helper
To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.
sudo pacman -S --needed --noconfirm base-devel git
Now clone the yay archive using the following terminal command.
git clone https://aur.archlinux.org/yay-git.git
Next, move the archive to the /OPT/ directory. This is a good location for any other archive installs, keep everything located, and traditionally the directory is a commonly used area for different applications.
sudo mv yay-git /opt/
Now navigate to the yay-git directory location.
Build the package using the makepkg command.
Install GitHub Desktop
Now that you have installed the yay package management helper, you can install the software using the following command.
yay -S github-desktop-bin --noconfirm
Remove –noconfirm to manually go through the installation questions instead of selecting the default answers.
How to Launch GitHub Desktop
Now that you have the software installed, launching can be done in a few ways.
First, you can launch the application immediately by typing the following command in your terminal.
However, this isn’t practical, and you would use the following path on your desktop to open it.
Taskbar (bottom-left corner) > Development > GitHub Desktop
Once you open GitHub, you can automatically start using it to connect to remote computers by launching a session.
For more information on configuring GitHub, use the official documentation.
How to Update/Upgrade GitHub Desktop
The best way to upgrade the software is to use the following terminal command.
yay -Syu --devel --timeupdate
Note it is advised to run terminal commands now and then even if you have set up AUR auto-updates using the automatic GUI updater; this ensures you are not missing anything.
How to Remove (Uninstall) GitHub Desktop
When you no longer want the software installed on your system, use the following command to remove it.
yay -Rns github-desktop-bin --noconfirm
Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run, so your system does not become bloated.
Comments and Conclusion
If you’re looking for a desktop client that will make it easier for you to interact with GitHub, then be sure to check out the GitHub Desktop application.