An Instruction to command reflector
To install reflector for Arch Linux, use the following command:
1sudo pacman -S reflector
Supposing you are in China mainland, use the following line of code to configure your pacman’s mirror list:
1sudo reflector --country China --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
Then you should update the package lists via the code:
1sudo pacman -Syy