Merge pull request #106 from wnlen/codex/support-clash-meta-/-mihomo-kernel-4q04x0

Clarify one-click install for this repository
This commit is contained in:
wnlen
2026-01-14 15:41:38 +08:00
committed by GitHub

View File

@ -162,6 +162,16 @@ sudo clashctl status
## 一键安装/卸载 ## 一键安装/卸载
🚀 **一键安装(当前项目)**
当前项目支持一键安装,在终端中执行以下命令即可完成安装:
```bash
git clone --branch master --depth 1 https://github.com/wnlen/clash-for-linux.git \
&& cd clash-for-linux \
&& bash install.sh
```
脚本会自动识别安装路径、创建低权限用户、检测端口冲突,并根据架构自动下载 Clash 内核(可通过 `CLASH_DOWNLOAD_URL_TEMPLATE` 自定义下载地址)。 脚本会自动识别安装路径、创建低权限用户、检测端口冲突,并根据架构自动下载 Clash 内核(可通过 `CLASH_DOWNLOAD_URL_TEMPLATE` 自定义下载地址)。
```bash ```bash