#mirror #pacman #arch-linux #cli

yanked pmm

Archlinux pacman set the fastest mirror source

0.1.4 May 27, 2022
0.1.3 May 27, 2022

#34 in #pacman

MIT license

36KB
862 lines

Archlinux pacman set the fastest mirror source

Examples

pmm -h
pmm is short for =>pacman mirror manager
pmm -h || -help => shows help about the cli
pmm -n US|| -new US => fetch arch America mirror and set fatest pacman mirror
pmm -w || -where => shows the .pmm.toml file path
pmm -c || -country => shows all country abbreviated names 
pmm => get config from local .pmm.toml file and set fatest pacman mirror

Install

cargo install pmm

Run to set

sudo pmm
The first run requires a 2 capital letter country abbreviated name
#example
pmm AM => America mirror source
pmm AU => Australia mirror source
pmm FR => France mirror source
pmm DE => Germany mirror source
pmm GB => British mirror source
pmm CN => China mirror source

Dependencies

~9–19MB
~295K SLoC