Create a clash folder in the user directory by executing cd && mkdir clash.
Download the appropriate Clash binary file, unzip it, and rename it to clash. Generally, for personal 64-bit computers, downloading clash-linux-amd64.tar.gz is sufficient.
For tgclash backup group files, download the version you need from https://t.me/Clashclient.
2.
In the terminal, navigate to the directory where the Clash binary file is located and execute
wget -O config.yml https://sub02-hvfjeghcchcjb7bh.z02.azurefd.net/link/39FTEsfopriSDNrv?newclash=2&log-level=info
to download the Clash configuration file.
Note: Replace it with your own subscription link.
3.
Execute
./clash -d
to start Clash, along with the HTTP proxy and Socks5 proxy.
Press ctrl+c to stop clash.
If prompted with insufficient permissions, execute chmod +x clash.
If it fails, overwrite the content of the config.yml file downloaded in the second step to the installation directory's config.yaml file and restart clash.
4.
Access Clash Dashboard to switch nodes, test latency, and perform other operations.
Host: 127.0.0.1, Port: 9090
5.
Using Ubuntu 19.04 as an example, open system settings, select Network, click on the ⚙ button next to Network Proxy, choose Manual, fill in the HTTP and HTTPS proxies as 127.0.0.1:7890, and fill in the Socks host as 127.0.0.1:7891 to enable system proxy.
Note: The clash author has deleted the repository, so please find external links for downloads.