sourcegraph-cli on AUR (Arch User Repository)

Last updated: December 27,2024

1. Install "sourcegraph-cli" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install sourcegraph-cli on Arch using YAY

$ yay -S sourcegraph-cli

* (Optional) Uninstall sourcegraph-cli on Arch using YAY

$ yay -Rns sourcegraph-cli

2. Manually Install "sourcegraph-cli" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone sourcegraph-cli's git locally

$ git clone https://aur.archlinux.org/sourcegraph-cli.git ~/sourcegraph-cli

c. Go to ~/sourcegraph-cli folder and install it

$ cd ~/sourcegraph-cli $ makepkg -si

3. Information about the sourcegraph-cli package on Arch User Repository (AUR)

ID: 1207126
Name: sourcegraph-cli
PackageBaseID: 172462
PackageBase: sourcegraph-cli
Version: 4.1.1-1
Description: Command line interface to Sourcegraph
URL: https://github.com/sourcegraph/src-cli
NumVotes: 0
Popularity: 0
OutOfDate: 1702248072
Maintainer:
Submitter: lmartinez-mirror
FirstSubmitted: 1635348564
LastModified: 1675651762
URLPath: /cgit/aur.git/snapshot/sourcegraph-cli.tar.gz