You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Mac OS下如何安装旧版本Telepresence以兼容遗留命令?

解决Telepresence旧版本安装与遗留命令兼容问题

一、用Homebrew安装Telepresence旧版(v1)

如果优先想用Homebrew搞定,试试这些步骤:

  1. 先卸载当前的新版:
    brew uninstall telepresence
    
  2. 安装v1分支的包:
    brew install datawire/blackbird/telepresence@1
    
    要是这个命令失效,就手动指定旧版本的formula文件(可去Homebrew的formula历史里找v1对应的commit,替换下面的<commit-hash>):
    brew install https://raw.githubusercontent.com/datawire/homebrew-blackbird/<commit-hash>/Formula/telepresence.rb
    
  3. 装完后固定版本,防止被自动更新:
    brew pin telepresence
    

二、直接下载二进制包(Homebrew不行时用)

  1. 找到Telepresence v1的最新发布版(比如v1.10.7),下载对应MacOS的二进制文件
  2. 把文件移到/usr/local/bin目录,添加执行权限:
    chmod +x /usr/local/bin/telepresence
    

三、不想换版本?适配新版命令

如果能修改脚本,试试用新版参数替代遗留命令:

  • --serviceaccount → 新版使用--service-account(短横线分隔),或结合Kubernetes上下文指定服务账号
  • --also-proxy → 新版使用--extra-proxy,多个代理可重复添加该参数,例如--extra-proxy 192.168.0.0/16 --extra-proxy 10.0.0.0/8

内容的提问来源于stack exchange,提问作者maxoverhere

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.03 17:20:35