How to's

Connect with VS Code

The Brev CLI wraps SSH to open VS Code directly to your dev environment


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

brev open <env-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 environment, and that's it!

    img

By the way, if you're connecting to a dev environment 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 dev environment you want to connect to

    img
Previous
Connect Via Emacs