在Linux上使用clash

2/23/2022 日常

在谷歌上找了半天在Linux上安装clash的方法,感觉都不是非常好用。

然后就发现了这个https://github.com/juewuy/ShellClash一个脚本,直接安装,非常nice。

需要在服务器上安装wget Use curl:

#by github-CDN
export url='https://raw.githubusercontent.com/juewuy/ShellClash/master' && sh -c "$(curl -kfsSl $url/install.sh)" && source /etc/profile &> /dev/null
#by jsdelivrCDN
export url='https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master' && sh -c "$(curl -kfsSl $url/install.sh)" && source /etc/profile &> /dev/null
#by myserver
export url='http://shellclash.ga/' && sh -c "$(curl -kfsSl $url/install.sh)" && source /etc/profile &> /dev/null
1
2
3
4
5
6

Use wget:

#By jsdelivrCDN
export url='https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master' && wget -q --no-check-certificate -O /tmp/install.sh $url/install.sh  && sh /tmp/install.sh && source /etc/profile &> /dev/null
1
2

跳着一个自己能用的然后安装就行了,傻瓜式操作。 clash安装