Skip to main content


The hosts file is located in /private/etc.

cd ~/Informàtica/hosts
gco -- .
python3 [--backup]
cd ~/Informàtica/hosts && gco -- . && ggpull && python3

Error ModuleNotFoundError: No module named 'requests'

If an error like "ModuleNotFoundError: No module named 'lxml'" is thrown when running, then install the required dependencies by following Generate your own unified hosts file.

Basically run pip3 install --user -r requirements.txt.

Other tools