Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marcelotournier/87aa8df046ca66a8d9599d757f64779e to your computer and use it in GitHub Desktop.
Save marcelotournier/87aa8df046ca66a8d9599d757f64779e to your computer and use it in GitHub Desktop.
Cursor remote tunnel on google colab

Adapted from: https://forum.cursor.com/t/remote-tunnel-support/876/13

Paste this snippet on a colab cell:

!rm -rf /tmp/code /tmp/codecli.tar.gz  /tmp/cursor
!curl \
    -L "https://api2.cursor.sh/updates/download-latest?os=cli-alpine-x64" \
    -o /tmp/codecli.tar.gz
!tar xzf /tmp/codecli.tar.gz --directory /tmp/
!rm /tmp/codecli.tar.gz
!1 > /dev/null | /tmp/cursor tunnel --random-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment