安裝和使用 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
)。