command shift + p 输入下载 Shell Command: Install 'cursor' command in PATH 判断: cursor --version
终端全局配置命令: zsh(mac默认终端执行) echo 'export EDITOR=cursor' >> ~/.zshrc source ~/.zshrc
判断命令: echo $EDITOR
bash(终端执行) echo 'export EDITOR=cursor' >> ~/.bashrc source ~/.bashrc
判断命令: echo $EDITOR
可以快速定位组件位置打开编辑器