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

Last updated: December 24,2024

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

$ yay -S tree-sitter-rust

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

$ yay -Rns tree-sitter-rust

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

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

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

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

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

ID: 1374480
Name: tree-sitter-rust
PackageBaseID: 200763
PackageBase: tree-sitter-rust
Version: 0.20.4-2
Description: Rust grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-rust
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: kevinschoon
Submitter: kevinschoon
FirstSubmitted: 1703338466
LastModified: 1703338466
URLPath: /cgit/aur.git/snapshot/tree-sitter-rust.tar.gz