brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
cursorControl Cursor AI code editor via CLI. Use when opening files, comparing diffs, managing extensions, or configuring Cursor as git editor.
Independent GitHub snapshot · Automated classification · Original documentation governs
Core Capability: Control the Cursor AI-powered code editor (VS Code fork) from the command line.
# Open current directory
cursor .
# Open file at specific line
cursor /path/to/file.ts:42
# Compare two files
cursor --diff file1.ts file2.ts
# Use as git editor
git config --global core.editor "cursor --wait"
# Open file
cursor /path/to/file.ts
# Open at specific line
cursor /path/to/file.ts:42
# Open at line and column
cursor /path/to/file.ts:42:10
# Open multiple files
cursor file1.ts file2.ts file3.ts
# Open in new window
cursor -n /path/to/project
# Reuse existing window
cursor -r /path/to/file
# Compare two files
cursor --diff file1.ts file2.ts
cursor -d file1.ts file2.ts
# Wait for file to close (scripts/git)
cursor --wait /path/to/file
cursor -w /path/to/file
# Use as git editor
git config --global core.editor "cursor --wait"
# List installed extensions
cursor --list-extensions
# Install extension
cursor --install-extension <extension-id>
# Uninstall extension
cursor --uninstall-extension <extension-id>
# Disable all extensions
cursor --disable-extensions
| Command | Description |
|---|---|
cursor . | Open current directory |
cursor file.ts:42 | Open file at line |
cursor -n path | Open in new window |
cursor -r path | Reuse existing window |
cursor --diff a b | Compare two files |
cursor --wait file | Wait for close (scripting) |
cursor --add folder | Add to current workspace |
| File | macOS Path |
|---|---|
| User settings | ~/Library/Application Support/Cursor/User/settings.json |
| Keybindings | ~/Library/Application Support/Cursor/User/keybindings.json |
| File | Linux Path |
|---|---|
| User settings | ~/.config/Cursor/User/settings.json |
| Keybindings | ~/.config/Cursor/User/keybindings.json |
# Custom user data directory
cursor --user-data-dir /path/to/data
# Custom extensions directory
cursor --extensions-dir /path/to/extensions
# Read from stdin
echo "console.log('hello')" | cursor -
# Pipe file contents
cat script.ts | cursor -
# Show version
cursor --version
# Show help
cursor --help
# Verbose output
cursor --verbose /path/to/file
# Inspect extensions
cursor --inspect-extensions
| Topic | Reference |
|---|---|
| Full command reference | COMMANDS.md |