如果报错:
Too many free trial accounts used on this machine. Please upgrade to pro. We have this limit in place to prevent abuse. Please let us know if you believe this is a mistake.
前置准备
-
注册并激活 Cursor AI 免费试用账号
-
确保系统管理员权限(可能需要修改系统文件)
-
准备文本编辑器(推荐使用 VS Code 或 Notepad++)
-
完全退出 Cursor 程序(包括后台进程)
配置文件路径
根据您的操作系统,配置文件位于不同位置:
Windows 系统
%APPDATA%\Cursor\User\globalStorage\storage.json
提示:可以按
Win + R
输入路径快速访问
macOS 系统
~/Library/Application Support/Cursor/User/globalStorage/storage.json
提示:在访达中使用
Command + Shift + G
可快速访问
Linux 系统
~/.config/Cursor/User/globalStorage/storage.json
提示:可使用
cd ~/.config/Cursor/User/globalStorage
直接访问
详细配置步骤
1. 备份原始配置
在修改之前,强烈建议创建配置文件的备份:
# Windows
copy storage.json storage.json.backup
# macOS/Linux
cp storage.json storage.json.backup
2. 生产随机key
使用 http://mercyhacks.com/hacks/cursorai.html 生成key
3. 更新配置内容
使用文本编辑器打开 storage.json
,更新以下关键配置项:
{
"telemetry.machineId": "d4b678b5-ad24-4ea3-b8ce-b35015b694ed",
"telemetry.macMachineId": "d4b678b5-ad24-4ea3-b8ce-b35015b694ed",
"telemetry.devDeviceId": "d4b678b5-ad24-4ea3-b8ce-b35015b694ed",
"telemetry.sqmId": "d4b678b5-ad24-4ea3-b8ce-b35015b694ed",
"lastModified": "2024-01-01T00:00:00.000Z",
"version": "1.0.1"
}