"code" CLI won't setup after first startup screen

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

“code” command not applied also it says Unable to find shell script in ‘/usr/share/cursor/resources/app/bin/code’

Steps to Reproduce

Install the IDE from scratch but in welcome screen choice “cursor” and then next after all configuration process just go to Help → Show all commands → Install “code” command

Expected Behavior

just setup code command properly

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.64
VSCode Version: 1.99.3
Commit: 25412918da7e74b2686b25d62da1f01cfcd27680
Date: 2025-11-06T04:35:14.424Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.12.48+deb13-amd64

Additional Information

i firstly installed vs code and when the welcome screen apear i uninstall vs code and i choice code and cursor and pressed multiple times its not working

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, Cursor is a VS Code fork, so the “code” command is likely left over from the original binary, but for Cursor specifically, I’d recommend using the “cursor” command instead of “code”; it works the same.

Hey, thanks for the report! As @Ra.in mentioned, Cursor uses the cursor command, not code.

Please check:

  • Try using cursor - run: cursor --help
  • If the cursor command doesn’t work, how did you install Cursor? (AppImage, .deb, manual)
  • Proper CLI installation:
    CTRL+Shift+P > Shell Command: Install ‘cursor’ command in PATH

Let me know what you find.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.