Install Reflector on Arch Linux
Reflector is a small Python3 script that sort through the Arch Linux mirrors based on parameters of your choice and updates your mirrorlist.
More info: Reflector - ArchWiki | Project website - xyne
Installation
pacman -S reflectorUsage
reflector --help will show you the available commands and their options.
The following command will update your mirrorlist with the 50 fastest mirrors that have support for both HTTPS and IPV6.
reflector --verbose --completion-percent 100 --ipv6 --protocol https --score 50 --sort rate --save /etc/pacman.d/mirrorlistService
Reflector can run automatically in the background at chosen intervalls. The default timer will run reflector once a week.
If you want the options from the example earlier make the following changes.
--save /etc/pacman.d/mirrorlist--completion-percent 100--protocol https--ipv6--score 50--sort ratesystemctl enable reflector.timersystemctl start reflector.timersystemctl start reflector.service