ast-grep on AUR (Arch User Repository)
Last updated: December 27,2024
1. Install "ast-grep" 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
Copied
b. Install ast-grep on Arch using YAY
$
yay -S
ast-grep
Copied
* (Optional) Uninstall ast-grep on Arch using YAY
$
yay -Rns
ast-grep
Copied
2. Manually Install "ast-grep" via AUR
a. Ensure you have the base development tools and git installed with:
$
sudo pacman -S --needed
base-devel git
Copied
b. Clone ast-grep's git locally
$
git clone https://aur.archlinux.org/ast-grep.git
~/ast-grep
Copied
c. Go to ~/ast-grep folder and install it
$
cd
~/ast-grep
Copied
$
makepkg -si
Copied
3. Information about the ast-grep package on Arch User Repository (AUR)
ID: 1424875
Name: ast-grep
PackageBaseID: 191346
PackageBase: ast-grep
Version: 0.19.4-1
Description: A fast and polyglot tool for code structural search, lint, rewriting at large scale
URL: https://ast-grep.github.io/
NumVotes: 2
Popularity: 0.158934
OutOfDate:
Maintainer: KokaKiwi
Submitter: YHNdnzj
FirstSubmitted: 1678557488
LastModified: 1710153059
URLPath: /cgit/aur.git/snapshot/ast-grep.tar.gz
Name: ast-grep
PackageBaseID: 191346
PackageBase: ast-grep
Version: 0.19.4-1
Description: A fast and polyglot tool for code structural search, lint, rewriting at large scale
URL: https://ast-grep.github.io/
NumVotes: 2
Popularity: 0.158934
OutOfDate:
Maintainer: KokaKiwi
Submitter: YHNdnzj
FirstSubmitted: 1678557488
LastModified: 1710153059
URLPath: /cgit/aur.git/snapshot/ast-grep.tar.gz