Access Dev Pod with VS Code

Learn how to access a Dev Pod with VS Code.

VS Code is a powerful code editor that can be used to access a Dev Pod. In this guide, we will show you how to connect to a Dev Pod with VS Code via Remote Tunnels.

Create a Dev Pod with VS Code as Run Command

Create a pod with the following run command, for configurations, refer to this guide:

This command will download the VS Code CLI and start a tunnel to the Dev Pod.

Grant access to the VS Code server

Once the pod is created, you'll need to grant access to the VS Code server. 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.

Connect to the Dev Pod with VS Code

Once you have granted access to the VS Code server, you will be able to see the link to the VS Code server in logs.

Open the link generated in the logs in your browser, you will be able to see the VS Code running in your browser.

If you'd like to connect to the Dev Pod with VS Code installed on your local machine, you can use Connect to Tunnel function in VS Code with the same authentication. Eg. if you've granted access to the VS Code server with github, you can use the same github account to connect to the Dev Pod with VS Code installed on your local machine.

Copyright @ 2025, NVIDIA Corporation.