Connect to a Renku session from your local VSCode
Would you prefer to work on your Renku project from the comfort of your local VSCode rather than in the browser? This how-to guide shows you how to do exactly that!
VSCode tunnels are supported in the following Renku session environments:
- Most Renku global environments ≥ version
2.7.0.- Global environments where VSCode tunneling is not supported include: the RStudio environment.
- All Renku code based environments that were built (or rebuilt) after September 2, 2025 (release 2.7.0)
In RenkuLab:
- Launch a Renku session that uses one of the supported environments listed above.
- Open a terminal inside the session.
- Run
start_tunneland follow the instructions:- Log in to VSCode with either your Microsoft account or GitHub account
- Open the displayed link and enter the device code
- When it shows you another URL to open, you are done. Continue to the next steps.
Then, in a VSCode window on your local machine:
-
Install the “Remote - Tunnels” VSCode Extension if you don’t already have it.

- How to install the VSCode Remote Tunnels extension
- Open the Extension marketplace by going to View > Extensions
- Search for “Remote - Tunnels”
- Click install
- How to install the VSCode Remote Tunnels extension
-
In the very bottom left of the window, click the Open a Remote Window button

The ‘Open a Remote Window’ button
-
Pick Connect to Tunnel...
-
If you’re not signed in, you’ll be asked to sign in. Sign into the same account you did when running the
start_tunnelscript -
You should now see a list of available tunnels on your account, and one of them should be a
renku-...tunnel. Select it!
tipDo you have more than one Renku session tunnel? You can find the name of the tunnel for each session by looking at beginning of the logs of
start_tunnel. The line looks like this:[2025-09-01 12:06:23] info Creating tunnel with the name: renku-1189b3f2321d0b -
If no files show up at first, click the Open… shortcut and enter
/home/renku/work/
-
You should now see the same files you see in your RenkuLab session, and you can do work exactly like you are in a RenkuLab session!
Done with your session?
- Close the VSCode window
- Back in the browser, pause or shut down your Renku session