6 releases
0.1.33 | Oct 8, 2022 |
---|---|
0.1.31 | Oct 8, 2022 |
0.1.29 | Aug 17, 2022 |
0.1.27 | Jul 11, 2022 |
0.1.6 |
|
#2346 in Command line utilities
85 downloads per month
4MB
1K
SLoC
Contains (ELF exe/lib, 2MB) src/usr/bin/asu, (ELF exe/lib, 2MB) pkg/asu-bin/usr/bin/asu
Archlinux set the fastest mirror source cli
Examples
asu -h
asu - archlinux set mirror source cli
Usage:
asu -n FR|| -new FR => fetch archlinux France mirror source and set fatest pacman mirror
asu -u name|| -use name => set selected mirror source
asu -l || -list => list all mirror list
asu -w || -where => shows the .asu.toml file path
asu -c || -country => shows all country abbreviated names
asu -t || -test => get config from local .asu.toml file and test speed
asu -b || -best => get config from local .asu.toml file and set best pacman mirror
Install
cargo install asu
Run to set
sudo asu
The first run requires a 2 capital letter country abbreviated name
#example
sudo asu -n FR => France mirror source
sudo asu -n AU => Australia mirror source
sudo asu -n US => Us mirror source
sudo asu -n DE => Germany mirror source
sudo asu -n GB => British mirror source
sudo asu -n CN => China mirror source
Dependencies
~9–19MB
~294K SLoC