Skip to content

Commit

Permalink
fix clash usage error
Browse files Browse the repository at this point in the history
  • Loading branch information
AydenMeng committed Jul 13, 2024
1 parent fb667f5 commit d5f79de
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions content/content.zh/applications/clash.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,44 @@ toc: true
下载后:
```bash
unzip -x clash1130-loong64.zip
./clash -d path_to_config.yaml
./clash -d dir_include_config.yaml
```

其中`dir_include_config.yaml``config.yaml`所在的文件夹路径.

然后在设置中, 在首选项中设置代理服务器, 或者配置环境变量:

```
http: port:
127.0.0.1 7890
https: port:
127.0.0.1 7890
socks: port:
127.0.0.1 7891
```

具体端口号信息在`config.yaml`中查看.

## 新世界

### Archlinux

```bash
pacman -S clash
clash -d path_to_config.yaml
clash -d dir_include_config.yaml
```

其中`dir_include_config.yaml``config.yaml`所在的文件夹路径.

然后在设置中, 在首选项中设置代理服务器, 或者配置环境变量:

```
http: port:
127.0.0.1 7890
https: port:
127.0.0.1 7890
socks: port:
127.0.0.1 7891
```

具体端口号信息在`config.yaml`中查看.

0 comments on commit d5f79de

Please sign in to comment.