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