# clash-for-linux **Repository Path**: pc-dev/clash-for-linux ## Basic Information - **Project Name**: clash-for-linux - **Description**: clash-for-linux 一键脚本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-09 - **Last Updated**: 2026-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## config config.yaml first get clash's config.yaml just `wget -q -O config.yaml "clash_subscribe_url"` is not okay, so you need make it to config.yaml by your self, such as get it by clash-for-windows then copy into clash-for-linux/conf ## run oneStep.sh ``` source oneStep.sh start ``` to run clash background > notice: use `source` to make the env variable effective in current terminal, otherwise, please open a new terminal. ## shutdown it ``` source oneStep.sh stop ``` ## docker proxy if you want to use proxy when running docker, just do it as follows sudo mkdir -p /etc/systemd/system/docker.service.d sudo vim /etc/systemd/system/docker.service.d/proxy.conf add into proxy.conf ``` [Service] Environment="HTTP_PROXY=http://127.0.0.1:7890" Environment="HTTPS_PROXY=http://127.0.0.1:7890" Environment="NO_PROXY=localhost,127.0.0.1" ``` sudo systemctl daemon-reload sudo systemctl restart docker