Overview
Therepo aur command is a specialized variant of repo get for cloning packages from the Arch User Repository (AUR). It automatically configures the correct AUR remote URL format.
Syntax
Parameters
The name of the AUR package to clone
How It Works
repo aur internally calls the same cloning logic as repo get, but uses the AUR-specific URL format:
Examples
Clone an AUR package
yay package from AUR and creates:
Clone and build
Use Cases
Building AUR packages
The worktree layout is particularly useful for AUR packages because you can:- Keep the package source in one worktree
- Test modifications in a separate worktree
- Track upstream changes without disrupting your local builds
Maintaining AUR packages
If you maintain AUR packages, you can use worktrees for different versions:Related Commands
- repo get - Clone regular git repositories
- repo convert - Convert existing AUR clones to worktree layout
- repo wt - Manage worktrees after cloning
Notes
This command is Arch Linux-specific and only works with packages hosted on the Arch User Repository.