English | 简体中文
acr
helps to add Clash rules and takes effect right away.
- Type urls:
acr add https://www.google.com https://www.youtube.com
- Then the following contents will be added to the rule-provider's file:
- DOMAIN-SUFFIX,google.com
- DOMAIN-SUFFIX,youtube.com
- CFW's clash core API will be called to reload rule-provider's file.
You have many options.
Download the latest version from release page. And put it under the $PATH
.
Linux example:
wget -O /usr/local/bin/acr https://github.com/Bpazy/acr/releases/latest/download/acr-linux-amd64
chmod +x /usr/local/bin/acr
Golang version above 1.19
$ go install github.com/Bpazy/acr@latest