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. For most personal 64-bit computers, downloading clash-linux-amd64.tar.gz is sufficient.
Join the tgclash backup group to download the version you need: https://t.me/Clashclient
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.
Execute:
./clash -d
to start Clash, along with the HTTP and Socks5 proxies. Use ctrl+c to stop clash. If you encounter insufficient permissions, run chmod +x clash. If it becomes ineffective, overwrite the content of the config.yml file downloaded in the second step to the installation directory's config.yaml file and restart clash.
Access the Clash Dashboard to switch nodes, test latency, and perform other operations.
Host: 127.0.0.1, Port: 9090
Using Ubuntu 19.04 as an example, open system settings, select Network, click the ⚙ button next to Network Proxy, choose Manual, and enter 127.0.0.1:7890 for both HTTP and HTTPS proxies. Enter 127.0.0.1:7891 for the Socks host to enable system proxy.
Note: The Clash author has deleted the repository, so please find external links for downloads.