安装和使用 Cursor shell 命令
cursor
和 code
命令,将 Cursor 集成到您的开发工作流程中。
Install 'cursor' to shell
Install 'code' to shell
cursor file.js
cursor ./my-project
cursor file1.js file2.js folder1/
cursor -n
或 cursor --new-window
cursor -w
或 cursor --wait
cursor 和 code 命令有什么区别?
code
命令是为了与 VS Code 兼容。我需要同时安装两个命令吗?
命令安装在哪里?
.bashrc
、.zshrc
或 .config/fish/config.fish
)。