cursor无限自动注册试用账号教程

主要用到的工具:

教程

1. 安装 Cursor 自动注册

macOS 系统

  1. 下载 Cursor 自动注册 并解压。
  2. 按照下面的配置说明,先配置环境变量。
  3. 打开终端,进入解压后的目录。
  4. 运行 ./cursor-auto-free 命令,按照提示进行注册。
  5. 注册完成后,关闭终端。

Windows 系统

  1. 下载 Cursor 自动注册 并解压。
  2. 按照下面的配置说明,先配置环境变量。
  3. 打开 cursor-auto-free.exe 文件,点击 一键注册 按钮。
  4. 点击 开始注册 按钮,等待注册完成。
  5. 注册完成后,点击 退出 按钮,关闭程序。

1.1 配置说明

  • 在解压文件的根目录下创建 .env 文件,并按照下面的配置说明进行配置。
     

  • 需要使用 cloudflare 域名邮箱,关于如何使用 cloudflare 域名邮箱,请参考我的另一篇文章: 怎么在cloudflare建立自己的邮箱服务
     

     

  • 可以到 spaceship 域名 购买域名,费用非常低,一个域名只要几美元。将购买的域名托管到 cloudflare 上。

  • 需要使用 tempmail.plus 邮箱, 将 cloudflare 的域名邮箱转发到 tempmail.plus 邮箱。

  • 在环境变量文件 .env 中,配置你的邮箱域名和临时邮箱。

1
2
DOMAIN='xxxxx.com'    # 你的邮箱域名 自行搜索如何使用 cloudflare 邮箱
TEMP_MAIL='xxxxxx' # 临时邮箱,就是你cloudflare 设置的目标位置 用的是tempmail.plus 邮箱,这里可以随便填写。主要是需要将cloudflare 的域名邮箱转发到 tempmail.plus 邮箱。

例如,如果你设置:

1
2
DOMAIN='wozhangsan.me'
TEMP_MAIL='ccxxxxcxx'

那么程序将随机生成 @wozhangsan.me 后缀作为注册邮箱。

2. 自动重置设备指纹

  • 因为长时间使用免费账户,会被 cursor 识别限制,需要使用 自动重置设备指纹 工具,将设备指纹重置为随机值。
  • 如果第一步注册成功且已经自动重置设备指纹,那么第二步自动重置设备指纹可以跳过。这是针对 Cursor 自动注册注册成功,但是并没有重置设备指纹的补救方案。
     

一键解决方案

全球用户

  • Linux/macOS

    1
    curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
  • Windows

    1
    irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex

中国用户(推荐)

  • macOS

    1
    curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_mac_id_modifier.sh | sudo bash
  • Linux

    1
    curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash
  • Windows

    1
    irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex

如何打开 Windows 管理员终端

  1. 使用快捷键 Win + X
  2. 从弹出菜单中选择:
    • “Windows PowerShell (管理员)”
    • “Windows Terminal (管理员)”
    • “终端 (管理员)”(选项可能因 Windows 版本而异)

3. Cursor 使用心得

  • 不要让 cursor 直接写代码,而是先让他写思路,然后你再根据思路写代码。
  • 给 cursor 设置全局规则,让他按照规则来写代码。
  • 给 cursor 设置项目规则,让他按照项目规则来写代码。

设置全局规则:直接在设置中的 Rules for AI 中添加

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
DO NOT GIVE ME HIGH LEVEL SHIT, IF I ASK FOR FIX OR EXPLANATION, I WANT ACTUAL CODE OR EXPLANATION!!! I DON'T WANT "Here's how you can blablabla"

- Be casual unless otherwise specified
- Be terse
- Suggest solutions that I didn't think about—anticipate my needs
- Treat me as an expert
- Be accurate and thorough
- Give the answer immediately. Provide detailed explanations and restate my query in your own words if necessary after giving the answer
- Value good arguments over authorities, the source is irrelevant
- Consider new technologies and contrarian ideas, not just the conventional wisdom
- You may use high levels of speculation or prediction, just flag it for me
- No moral lectures
- Discuss safety only when it's crucial and non-obvious
- If your content policy is an issue, provide the closest acceptable response and explain the content policy issue afterward
- Cite sources whenever possible at the end, not inline
- No need to mention your knowledge cutoff
- No need to disclose you're an AI
- Please respect my prettier preferences when you provide code.
- Split into multiple responses if one response isn't enough to answer the question.
1. Code Readability
- Write clean, well-structured code
- Use meaningful variable and function names
- Maintain consistent formatting and indentation

2. Documentation
- Comments must be:
* Written in chinese only
* Added only when necessary
* Used to explain:

3. Development Process
- First think through the problem before writing code
- Consider the first principles and fundamental requirements
- Plan the structure and architecture beforehand
- Break down complex problems into smaller, manageable parts

4. Best Practices
- Follow language-specific conventions and style guides
- Implement error handling where appropriate
- Write maintainable and scalable code
- Consider performance implications

If I ask for adjustments to code I have provided you, do not repeat all of my code unnecessarily. Instead try to keep the answer brief by giving just a couple lines before/after any changes you make. Multiple code blocks are ok.

Always respond in 中文

设置项目规则

  • 在项目根目录下创建 .cursorrules 文件,并参考下面的配置说明进行配置。下面仅做参考,实际项目规则需要根据项目实际情况来设置。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 一、项目背景
这是一个基于uniapp开发的微信小程序,
而你则是一位uniapp开发方面的专家,并且精通uniapp微信小程序的开发。

# 二、项目目录结构
1. m 页面包
2. components 组件包
3. config 目录是配置及网络请求配置文件, api.js是接口配置文件, requst.js是网络请求配置文件, index.js是全局常量配置文件
4. utils 工具包
5. static 静态资源包
6. routes 路由配置文件,主要是拦截器配置文件
7. main.js 项目入口文件
8. pages.json 页面配置文件


# 三、项目开发规范
1. 创建新的页面,在m目录下的相关文件夹中创建,如果没有相关文件夹,则创建新的文件夹
2. 创建新的组件,在components目录下的相关文件夹中创建,如果没有相关文件夹,则创建新的文件夹
3. 页面的命名规则为 页面名+页面类型,如index.vue, detail.vue, 组件的命名规则为 组件名+组件类型,如button.vue, input.vue
4. 页面的命名尽量简短,尽量使用驼峰命名法

# 首选的库
1. Vuex 状态管理库
2. uview-ui UI组件库

## 四、接口调用方式
所有的接口都会定义在api.js文件中,接口的调用方式如下:
接口调用示例
post请求示例:
javascript
try {
const params = {
basePrice: this.basePrice,
bookType: 2,
buyNum: this.buyNum,
costDetaiList: this.selectedCosts,
postId: this.serviceId,
sysCategoryId: this.categoryId
}
const res = await calculatePrice(params)
if(res.code === 200 && res.data) {
this.totalPrice = res.data.totalPrice.toFixed(2)
}
} catch(error) {
console.error('获取总价失败:', error)
}


get 请求示例:

javascript
try {
const res = await serviceCategory();
if (res.data) {
this.serviceTypes = ["全部", ...res.data.map((item) => item.adTitle)];
this.serviceNameToId = res.data.reduce((map, item) => {
map[item.adTitle] = item.id;
return map;
}, {});

this.selectedService = "全部";
this.sysCategoryId = "";
}
} catch (error) {
this.$u.toast("获取服务分类失败");
}



```

上网工具推荐

推荐:低至7元/100G/月机场
推200元一年腾讯海外服务器

相关视频

支付宝打赏 微信打赏

如果文章对你有帮助,欢迎点击上方按钮打赏作者,更多功能请访问博客站



cursor无限自动注册试用账号教程
https://blog.fxcxy.com/2025/01/20/cursor无限自动注册试用账号教程/
作者
spatacus
发布于
2025年1月20日
许可协议