巴拉巴拉
小魔仙

mac利用brew安装rdm卡死让终端走ss代理

mac安装rdm,为了简单直接用brew来安装rdm,有一点点的小问题,brew从github下载包的时候卡主了,无法继续下去,只好让终端通过ss加速了

1.命令brew安装rdm

# 安装rdm
brew cask install rdm

# 卸载rdm
brew cask uninstall rdm
localhost:~ jecced$ brew cask install rdm
==> Satisfying dependencies
==> Downloading https://github.com/uglide/RedisDesktopManager/releases/download/
                                                                           0.4%
curl: (56) SSLRead() return error -9806
Error: Download failed on Cask 'rdm' with message: Download failed: https://github.com/uglide/RedisDesktopManager/releases/download/0.8.3/redis-desktop-manager-0.8.3-2550.dmg
The incomplete download is cached at /Users/jecced/Library/Caches/Homebrew/Cask/rdm--0.8.3-2550.dmg.incomplete
Error: Install incomplete.

2.还好电脑是用ss加速的,具体怎么弄其他地方找

主要卡主的问题是github上下载资源失败,需要 科学上网 一下
电脑已经 ss 加速了,但是终端并没有被代理到 ss

SS小飞机→偏好设置→HTTP→查看地址和终端

终端中运行:

export http_proxy="http://127.0.0.1:1087"
export https_proxy="http://127.0.0.1:1087"

3.设置代理之后再次执行命令安装rdm

brew cask install rdm
localhost:~ jecced$ brew cask install rdm
==> Satisfying dependencies
==> Downloading https://github.com/uglide/RedisDesktopManager/releases/download/
######################################################################## 100.0%
==> Verifying checksum for Cask rdm
==> Installing Cask rdm
==> Moving App 'rdm.app' to '/Applications/rdm.app'.
🍺  rdm was successfully installed!

安装成功

赞(0) 打赏
如果文章对你有帮助,欢迎你来评价反馈。AgainFly » mac利用brew安装rdm卡死让终端走ss代理

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  • Q Q(选填)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏