Mac上Cursor无法安装插件解决方法

可能是微软的vscode被cursor这些新晋的AI-IDE白嫖够了,所以现在被制裁了,cursor下载不了vscode插件了。​需要自己修改扩展商店源。

近期微软调整了 API 鉴权策略或限制了非官方客户端的访问权限。

解决方案

一、找到 product.json 文件

打开终端,执行以下命令直接跳转目录

bash 复制代码
open /Applications/Cursor.app/Contents/Resources/app/

二、修改 product.json

打开 product.json,找到 extensionsGallery 字段,替换为以下内容:

bash 复制代码
"extensionsGallery": {
  "galleryId": "cursor",
  "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
  "itemUrl": "https://marketplace.visualstudio.com/items",
  "resourceUrlTemplate": "https://marketplace.visualstudio.com/{publisher}/{name}/{version}/{path}",
  "controlUrl": "https://api2.cursor.sh/extensions-control",
  "extensionUrlTemplate": "https://www.vscode-unpkg.net/_gallery/{publisher}/{name}/latest",
  "recommendationsUrl": "",
  "nlsBaseUrl": "",
  "publisherUrl": ""
}

三、重启 Cursor

​完全退出应用:

右键点击 Dock 栏的 Cursor 图标 → ​退出。

​重新启动 Cursor:

双击应用图标重新打开,测试扩展安装功能正常。

相关推荐
系'辞3 小时前
【obsidian指南】配置obsidian git插件,实现obsidian数据定时同步到github仓库(Mac电脑)
macos·github·agent·知识库
栗子叶18 小时前
IP协议 地址划分&MAC地址作用&ip addr命令
网络·tcp/ip·macos
啊湘20 小时前
VSCODE英文界面切换为中文(适用CURSOR等使用)
ide·vscode·编辑器·bug·cursor
draking21 小时前
Anthropic 封杀当天,我把 OpenCode 升到 1.1.11,踩了 5 个坑
macos·ai编程
Roye_ack1 天前
【Mac环境配置教程】深度学习环境配置(Anaconda + PyTorch)
macos
程序员雄杰1 天前
腾讯云轻量应用服务器mac中ssh免密登录到服务器
macos·ssh·腾讯云
roamingcode1 天前
超越 Context Window:为何文件系统是 AI Agent 的终极记忆体
人工智能·agent·cursor·claude code·上下文工程·skill 技能
YongPagani2 天前
Mac安装Homebrew
macos
Byron Loong2 天前
【系统】Mac系统和Linux 指令对比
linux·macos·策略模式
软件小滔2 天前
拖拽出来的专业感
经验分享·macos·mac·应用推荐