(Experimental) Access Dev Pod with Cursor
Learn how to connect Cursor to a dev pod.
This is provided as an example that was tested with version 1.0 of Cursor and may not work with different versions. Remote access for version 1.0 could be removed by the Cursor team at any time as well. For any issues encountered while following this document, please reach out to Cursor support. NVIDIA is unable to provide assistance with remote access to Cursor tools.
Cursor is a powerful AI-assisted code editor built on VS Code that can connect to a Dev Pod for remote development using DGX Cloud Lepton resources. In this guide, we will show you how to connect to a Dev Pod with Cursor via Remote Tunnels.
1. Create a Dev Pod and Launch a Cursor Dev Tunnel
Create a pod with the following run command depending on the CPU architecture of the Dev Pod, for configurations, refer to this guide:
For x86-based systems:
For ARM-based systems:
This command will download the Cursor CLI and start a tunnel to the Dev Pod.
This command should work with most custom Debian-based containers, including the latest PyTorch and NeMo containers available on ngc.nvidia.com.
2. Grant Access to the VS Code Server
Once the pod is created, you'll need to grant access to the VS Code server which is running the Cursor dev tunnel. Go to the Dev Pod details page, click on the Logs tab, and find the following line:
Go to the GitHub login page, and use the code generated in the logs to grant access to the VS Code server.
3. Connect to the Dev Pod with Cursor
Once you have granted access to the VS Code server, you will be able to see the name of the Cursor dev tunnel in the logs.
If not already available, install version 1.0 of Cursor on your local machine.
Open Cursor locally and ensure the remote tunnels extension is installed. Run the Remote-Tunnels: Connect to Tunnel... command in the command pallete in Cursor and authenticate with the same account you granted access to the dev tunnel for. If you granted access to the tunnel using GitHub, use the same GitHub account to authenticate inside Cursor. Once authenticated, select the dev tunnel listed in the Dev Pod logs to connect to the remote resources.