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

Last updated: November 23,2024

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

$ yay -S tree-sitter-c

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

$ yay -Rns tree-sitter-c

2. Manually Install "tree-sitter-c" 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-c's git locally

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

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

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

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

ID: 1320527
Name: tree-sitter-c
PackageBaseID: 172400
PackageBase: tree-sitter-c
Version: 0.20.5-2
Description: C grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-c
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: xiliuya
Submitter: lmartinez-mirror
FirstSubmitted: 1635204656
LastModified: 1695015415
URLPath: /cgit/aur.git/snapshot/tree-sitter-c.tar.gz