Brev.dev, inc of San Francisco, California, USA has been acquired by NVIDIA Corporation of Santa Clara, California, USA on July 2024

Learn more
BlogPricing

Connect with VS Code

The Brev CLI wraps SSH to open VS Code directly to your instance


The easiest way is to run brev open with the Brev CLI:

brev open <instance-name>

This opens VS Code directly to the default folder. You can change the default folder in the console.


Alternatively: Open VS Code and use the Remote - SSH extension to access the remote machine.

  1. Download the Remote - SSH extension extension

    img
  2. With the extension downloaded, open the command palette and type in ssh. Select Remote-SSH: Connect to Host...

    img
  3. Select your instance, and that's it!

    img

By the way, if you're connecting to an instance that you've connected to in the past, you can open up directly to the folder:

  1. Click on the Remote Explorer icon

    img
  2. Click on the folder icon for the instance you want to connect to

    img