nelvko / clash-for-linux-install
Waiting for api.github.com...
???
???
???
安装和使用#
一键安装#
git clone --branch feat-init --depth 1 https://gh-proxy.com/https://github.com/nelvko/clash-for-linux-install.git \
&& cd clash-for-linux-install \
&& bash install.sh clashbash命令一览#
使用 clashctl 命令列出常用快捷命令
优雅地使用基于 mihomo 的代理环境.
更多信息:https://github.com/nelvko/clash-for-linux-install.
- 开启/关闭代理环境
clash <on|off>
- 打印 Web 控制台信息
clash ui
- 查看/设置 Web 密钥
clash secret [SECRET]
- 查看代理内核状况
clash status
- 查看/设置 Tun 模式
clash tun [on|off]
- 查看/编辑 Mixin 配置
clash mixin [-e|-r]
- 更新订阅、查看订阅更新日志
clash update [auto|log] [URL]bash通过 SSH 远程访问web面板#
ssh -L 9090:127.0.0.1:9090 <username>@<server_ip>bash