mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-08-02 22:07:36 +08:00
231 lines
6.6 KiB
Markdown
231 lines
6.6 KiB
Markdown
# 🚀 Cursor Free Trial Reset Tool
|
||
|
||
<div align="center">
|
||
|
||
[](https://github.com/yuaotian/go-cursor-help/releases/latest)
|
||
[](https://github.com/yuaotian/go-cursor-help/blob/main/LICENSE)
|
||
[](https://github.com/yuaotian/go-cursor-help/stargazers)
|
||
|
||
[English](#-english) | [中文](#-chinese)
|
||
|
||
<img src="https://ai-cursor.com/wp-content/uploads/2024/09/logo-cursor-ai-png.webp" alt="Cursor Logo" width="120"/>
|
||
|
||
</div>
|
||
|
||
# 🌟 English
|
||
|
||
### 📝 Description
|
||
|
||
Resets Cursor's free trial limitation when you see:
|
||
|
||
```
|
||
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.
|
||
```
|
||
|
||
### 💻 System Support
|
||
|
||
**Windows** ✅ x64
|
||
**macOS** ✅ Intel & M-series
|
||
**Linux** ✅ x64 & ARM64
|
||
|
||
### 📥 Installation
|
||
|
||
#### Automatic Installation (Recommended)
|
||
|
||
**Linux/macOS**
|
||
```bash
|
||
curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
|
||
```
|
||
|
||
**Windows** (Run PowerShell as Admin)
|
||
```powershell
|
||
irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex
|
||
```
|
||
|
||
The installation script will automatically:
|
||
- Request necessary privileges (sudo/admin)
|
||
- Close any running Cursor instances
|
||
- Backup existing configuration
|
||
- Install the tool
|
||
- Add it to system PATH
|
||
- Clean up temporary files
|
||
|
||
#### Manual Installation
|
||
|
||
1. Download the latest release for your system from the [releases page](https://github.com/yuaotian/go-cursor-help/releases)
|
||
2. Extract and run with administrator/root privileges:
|
||
```bash
|
||
# Linux/macOS
|
||
sudo ./cursor-id-modifier
|
||
|
||
# Windows (PowerShell Admin)
|
||
.\cursor-id-modifier.exe
|
||
```
|
||
|
||
#### Manual Configuration Method
|
||
|
||
1. Close Cursor completely
|
||
2. Navigate to the configuration file location:
|
||
- Windows: `%APPDATA%\Cursor\User\globalStorage\storage.json`
|
||
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/storage.json`
|
||
- Linux: `~/.config/Cursor/User/globalStorage/storage.json`
|
||
3. Create a backup of `storage.json`
|
||
4. Edit `storage.json` and update these fields with new random UUIDs:
|
||
```json
|
||
{
|
||
"telemetry.machineId": "generate-new-uuid",
|
||
"telemetry.macMachineId": "generate-new-uuid",
|
||
"telemetry.devDeviceId": "generate-new-uuid",
|
||
"telemetry.sqmId": "generate-new-uuid",
|
||
"lastModified": "2024-01-01T00:00:00.000Z",
|
||
"version": "1.0.1"
|
||
}
|
||
```
|
||
5. Save the file and restart Cursor
|
||
|
||
### 🔧 Technical Details
|
||
|
||
#### Configuration Files
|
||
The program modifies Cursor's `storage.json` config file located at:
|
||
- Windows: `%APPDATA%\Cursor\User\globalStorage\`
|
||
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/`
|
||
- Linux: `~/.config/Cursor/User/globalStorage/`
|
||
|
||
#### Modified Fields
|
||
The tool generates new unique identifiers for:
|
||
- `telemetry.machineId`
|
||
- `telemetry.macMachineId`
|
||
- `telemetry.devDeviceId`
|
||
- `telemetry.sqmId`
|
||
|
||
#### Safety Features
|
||
- Automatic backup of existing configuration
|
||
- Safe process termination
|
||
- Atomic file operations
|
||
- Error handling and rollback
|
||
|
||
---
|
||
|
||
# 🌏 Chinese
|
||
|
||
### 📝 问题描述
|
||
|
||
当看到以下提示时重置Cursor试用期:
|
||
|
||
```
|
||
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.
|
||
```
|
||
|
||
### 💻 系统支持
|
||
|
||
**Windows** ✅ x64
|
||
**macOS** ✅ Intel和M系列
|
||
**Linux** ✅ x64和ARM64
|
||
|
||
### 📥 安装方法
|
||
|
||
#### 自动安装(推荐)
|
||
|
||
**Linux/macOS**
|
||
```bash
|
||
curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
|
||
```
|
||
|
||
**Windows** (以管理员身份运行PowerShell)
|
||
```powershell
|
||
irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex
|
||
```
|
||
|
||
安装脚本会自动:
|
||
- 请求必要的权限(sudo/管理员)
|
||
- 关闭所有运行中的Cursor实例
|
||
- 备份现有配置
|
||
- 安装工具
|
||
- 添加到系统PATH
|
||
- 清理临时文件
|
||
|
||
#### 手动安装
|
||
|
||
1. 从[发布页面](https://github.com/yuaotian/go-cursor-help/releases)下载适合您系统的最新版本
|
||
2. 解压并以管理员/root权限运行:
|
||
```bash
|
||
# Linux/macOS
|
||
sudo ./cursor-id-modifier
|
||
|
||
# Windows (PowerShell 管理员)
|
||
.\cursor-id-modifier.exe
|
||
```
|
||
|
||
#### 手动配置方法
|
||
|
||
1. 完全关闭 Cursor
|
||
2. 找到配置文件位置:
|
||
- Windows: `%APPDATA%\Cursor\User\globalStorage\storage.json`
|
||
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/storage.json`
|
||
- Linux: `~/.config/Cursor/User/globalStorage/storage.json`
|
||
3. 备份 `storage.json`
|
||
4. 编辑 `storage.json` 并更新以下字段(使用新的随机UUID):
|
||
```json
|
||
{
|
||
"telemetry.machineId": "生成新的uuid",
|
||
"telemetry.macMachineId": "生成新的uuid",
|
||
"telemetry.devDeviceId": "生成新的uuid",
|
||
"telemetry.sqmId": "生成新的uuid",
|
||
"lastModified": "2024-01-01T00:00:00.000Z",
|
||
"version": "1.0.1"
|
||
}
|
||
```
|
||
5. 保存文件并重启 Cursor
|
||
|
||
### 🔧 技术细节
|
||
|
||
#### 配置文件
|
||
程序修改Cursor的`storage.json`配置文件,位于:
|
||
- Windows: `%APPDATA%\Cursor\User\globalStorage\`
|
||
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/`
|
||
- Linux: `~/.config/Cursor/User/globalStorage/`
|
||
|
||
#### 修改字段
|
||
工具会生成新的唯一标识符:
|
||
- `telemetry.machineId`
|
||
- `telemetry.macMachineId`
|
||
- `telemetry.devDeviceId`
|
||
- `telemetry.sqmId`
|
||
|
||
#### 安全特性
|
||
- 自动备份现有配置
|
||
- 安全的进程终止
|
||
- 原子文件操作
|
||
- 错误处理和回滚
|
||
|
||
## ⭐ Star History
|
||
|
||
[](https://star-history.com/#yuaotian/go-cursor-help&Date)
|
||
|
||
|
||

|
||
|
||
|
||
## 📄 License
|
||
|
||
MIT License
|
||
|
||
Copyright (c) 2024
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||
of this software and associated documentation files (the "Software"), to deal
|
||
in the Software without restriction, including without limitation the rights
|
||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||
copies of the Software, and to permit persons to whom the Software is
|
||
furnished to do so, subject to the following conditions:
|
||
|
||
The above copyright notice and this permission notice shall be included in all
|
||
copies or substantial portions of the Software.
|
||
|