Rinne's Blog

Back

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 clash
bash

命令一览#

使用 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
©
Linux使用笔记:使用代理
https://astro-pure.js.org/blog/technology/linux-notes/proxy
Author Rinne
Published at 2025年10月15日
Comment seems to stuck. Try to refresh?✨