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

Last updated: July 01,2024

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

$ yay -S tree-sitter-cpp

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

$ yay -Rns tree-sitter-cpp

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

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

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

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

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

ID: 1320543
Name: tree-sitter-cpp
PackageBaseID: 172399
PackageBase: tree-sitter-cpp
Version: 0.20.3-2
Description: C++ grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-cpp
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: xiliuya
Submitter: lmartinez-mirror
FirstSubmitted: 1635203371
LastModified: 1695018864
URLPath: /cgit/aur.git/snapshot/tree-sitter-cpp.tar.gz