LinuxCommandLibrary

pacman-mirrors

generates and manages the pacman mirrorlist for Manjaro Linux

TLDR

Generate fastest mirrorlist

$ sudo pacman-mirrors --fasttrack
copy
Check mirror status
$ pacman-mirrors --status
copy
Display current branch
$ pacman-mirrors --get-branch
copy
Switch branch
$ sudo pacman-mirrors --api --set-branch stable
copy
Use geoip mirrors
$ sudo pacman-mirrors --geoip
copy

SYNOPSIS

pacman-mirrors [OPTIONS]

DESCRIPTION

pacman-mirrors generates and manages the pacman mirrorlist for Manjaro Linux. It tests mirror speeds, selects the fastest mirrors, and can switch between stable, testing, and unstable branches.

PARAMETERS

-f, --fasttrack [number]

Generate mirrorlist with the fastest mirrors
--status
Display the status of current mirrors
-g, --geoip
Use geolocation to select mirrors from your country
--get-branch
Display the current branch
--api
Use the API for branch switching
--set-branch branch
Set the branch (stable, testing, unstable)
-c, --country country
Limit mirrors to specific countries
-l, --list
List available countries

CAVEATS

After running pacman-mirrors, always synchronize and upgrade with sudo pacman -Syyu. Switching branches may introduce instability. The unstable branch tracks Arch Linux more closely.

HISTORY

pacman-mirrors is specific to Manjaro Linux, providing mirror management features not found in upstream Arch Linux.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community