#mirror #pacman #arch-linux #cli

yanked cpm

Archlinux pacman set the fastest mirror source

0.1.2 May 27, 2022
0.1.1 May 27, 2022
0.1.0 May 27, 2022

#44 in #pacman

MIT license

12KB
216 lines

Archlinux pacman set the fastest mirror source

Examples

cpm -h
cpm is short of =>china pacman mirror
cpm -h || -help => shows help about the cli
cpm -n || -new => fetch arch mirror and set fatest pacman mirror
cpm -w || -where => shows the .cpm.toml file path
cpm => get config from local .cpm.toml file and set fatest pacman mirror

Install

cargo install cpm

Run to set

sudo cpm

Dependencies

~8–18MB
~290K SLoC