命令行打开Cursor的方法:注册/反注册

注册 Cursor 到命令行

cursor 替换 code 在命令行下打开项目的方法

2024-10-15

cursorcommand-linevscode

cursor 替换 code 在命令行下打开项目的方法。

注册 cursor 到命令行(替换掉 code)

  1. Open Your Cursor App
  2. CMD(Ctrl) + Shift + P
  3. Shell Command Cursor command

来源:https://forum.cursor.com/t/how-to-open-cursor-from-terminal/3757/10

取消注册的方法

  1. Open Your Cursor App
  2. CMD(Ctrl) + Shift + P
  3. Shell Command Cursor command

命令行下使用方法

打开项目只要


dir
2024/10/11  15:06    <DIR>          .
2024/10/11  15:01    <DIR>          ..
2024/10/11  15:08    <DIR>          hello-world

# 启动项目
cursor hello-word