Cursor のシェルコマンドをインストールして使う
cursor
と code
の両方のコマンドをインストールしてね。
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
)に追加されるよ。