tree-sitter-go on AUR (Arch User Repository)

Last updated: July 07,2024

1. Install "tree-sitter-go" 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 tree-sitter-go on Arch using YAY

$ yay -S tree-sitter-go

* (Optional) Uninstall tree-sitter-go on Arch using YAY

$ yay -Rns tree-sitter-go

2. Manually Install "tree-sitter-go" via AUR

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

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

b. Clone tree-sitter-go's git locally

$ git clone https://aur.archlinux.org/tree-sitter-go.git ~/tree-sitter-go

c. Go to ~/tree-sitter-go folder and install it

$ cd ~/tree-sitter-go $ makepkg -si

3. Information about the tree-sitter-go package on Arch User Repository (AUR)

ID: 1374474
Name: tree-sitter-go
PackageBaseID: 200759
PackageBase: tree-sitter-go
Version: 0.20.0-2
Description: Go grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-go
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: kevinschoon
Submitter: kevinschoon
FirstSubmitted: 1703338107
LastModified: 1703338107
URLPath: /cgit/aur.git/snapshot/tree-sitter-go.tar.gz