
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
fix-cursor-tunnel
Advanced tools
A minimal Node.js CLI to fix Cursor tunnel issues.
npx fix-cursor-tunnel
npm i -g fix-cursor-tunnel
fix-cursor-tunnel
-h, --help Show help
-v, --version Show version
--dry-run Show what would happen without making changes
-b, --bin-dir <path> Override Cursor bin directory
--src <path> Explicit source file to rename (cursor-tunnel)
--dest <path> Explicit destination path/name (code-tunnel)
cursor-tunnel / code-tunnel.CURSOR_BIN_DIR.--bin-dir.If --src/--dest and --bin-dir/CURSOR_BIN_DIR are not provided, the CLI tries OS-specific defaults:
/Applications/Cursor.app/Contents/Resources/app/bin%LocalAppData%\Programs\Cursor\resources\app\binC:\\Program Files\\Cursor\\resources\\app\\bin/opt/Cursor/resources/app/binIf your installation lives elsewhere, pass --bin-dir or set CURSOR_BIN_DIR.
macOS
node bin/cli.js --dry-run
/Applications):
sudo node bin/cli.js
Windows (PowerShell)
node bin/cli.js --dry-run
node bin/cli.js
node bin/cli.js --bin-dir "$env:LocalAppData\Programs\Cursor\resources\app\bin"
Linux
node bin/cli.js --dry-run
sudo node bin/cli.js
node bin/cli.js --bin-dir /opt/Cursor/resources/app/bin
ls -l <bin-dir>/{cursor-tunnel,code-tunnel}
dir "<bin-dir>\cursor-tunnel"
dir "<bin-dir>\code-tunnel"
If needed, you can revert manually:
mv <bin-dir>/code-tunnel <bin-dir>/cursor-tunnel
ren "<bin-dir>\code-tunnel" "cursor-tunnel"
bin/cli.js (bin mapping in package.json).src/index.js.# Make the CLI executable
chmod +x bin/cli.js
# Run locally
node bin/cli.js --help
package.json.npm login.npm publish.Once published, users can run:
npx fix-cursor-tunnel
MIT
FAQs
Fix Cursor tunnel issues via a simple CLI.
We found that fix-cursor-tunnel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.