项目介绍

ultrasev/cursor-reset 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 1.5k 个 Star、208 次 Fork。

仓库全名
ultrasev/cursor-reset
Star 数
1.5k
Fork 数
208
未关闭 Issue
8

README 摘要

⚠️ CRITICAL VERSION NOTICE: This script ONLY works with Cursor version 0.44 and below. If you're using a newer version, you MUST downgrade to v0.44 first. Higher versions are NOT supported. Cursor Trial Reset Tool A utility tool that helps manage Cursor editor's device identification system by resetting stored device IDs. This can help users to resolve issues related to account restrictions when switching between…

完整内容见 GitHub 原始 README 或本页 。

常见问题

cursor-reset 用什么语言开发?

主要使用 Python 编写,目前有 1.5k 个 Star。

如何获取 cursor-reset 的源码?

可以直接克隆仓库:git clone https://github.com/ultrasev/cursor-reset.git,默认分支为 master;安装与运行步骤见仓库 README。

cursor-reset 最近还在维护吗?

仓库最近一次更新为 2025年3月4日,当前有 8 个未关闭 Issue;Star 数为 1.5k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A script to reset Cursor editor's device identification system. Helps resolve account restrictions and trial-related issues.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1951
价值分
973
活跃状态
活跃

语言占比

Python

README

⚠️ CRITICAL VERSION NOTICE: This script ONLY works with Cursor version 0.44 and below. If you’re using a newer version, you MUST downgrade to v0.44 first. Higher versions are NOT supported.

Cursor Trial Reset Tool

A utility tool that helps manage Cursor editor’s device identification system by resetting stored device IDs. This can help users to resolve issues related to account restrictions when switching between accounts or during trial periods.

Download Compatible Version

Cursor v0.44.11

Disable Auto-Update Feature

To prevent Cursor from automatically updating to unsupported new versions, you can block the update server.

  1. Open Hosts file:
sudo vim /etc/hosts
  1. Add the following lines to the file and save:
# block cursor autoupdate
127.0.0.1 download.todesktop.com

⚠️ Note: After disabling the autoupdates, you can execute the script to reset the device ID.

How It Works

The tool generates a new device identifier, which allows Cursor to recognize your system as a new device.

Device ID Management

Key Features

  • ✨ Automatic random device ID generation
  • 🔄 Automatic backup of original configuration
  • 📦 Zero dependencies - runs with built-in Python only.

Installation & Usage

curl -sL dub.sh/cursorreset | python3

dub.sh/cursorreset is a shortcut for downloading the script file reset.py from this repository.

You can also download the script file reset.py from this repository, make changes to it and run it manually.

python3 reset.py

This will generate a new random device ID.

❗️❗️❗️ Important: You need to log out and completely close Cursor before running the script. If Cursor is still running in the background, it may revert back to the previous device ID, undoing the reset.

Configuration Location

You can also manually edit the configuration file to set a specific device ID. The default configuration file for each operating system is located at:

  • Windows: %APPDATA%\Cursor\User\globalStorage\storage.json
  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/storage.json
  • Linux: ~/.config/Cursor/User/globalStorage/storage.json

Important Notice

This tool is developed for research and educational purposes only. Please use responsibly. The developer assumes no liability for any issues that may arise from using this tool.

评论

暂无评论