Connect to a Brev workspace using JetBrains
Make sure you have the Brev CLI installed
This includes Webstorm, GoLand, IntelliJ IDEA, PyCharm etc.
You will need to open JetBrains Gateway instead of your locally installed JetBrains IDE. It will install the language process server and other heavyweight processes on the remote machine, while exposing the client of the IDE to you.
We guide you through this process the first time you download the CLI, but a link to manually download the software is here: jetbrains.com/remote-development/gateway
brev jetbrainsin your terminal.
Open JetBrains Gateway and select "Connect Via SSH".
Your Brev machines should already be listed for you! Select the correct machine and click "Check Connection and Continue". If you do not see your brev machine, skip to the end of this to manually add ssh connection details 👇
Select the IDE you'd like to use. Enter the project directory. This will always be
/home/brev/workspace/<GIT_REPO_OR_PROJECT_NAME>. If you don't know the GIT_REPO_OR_PROJECT_NAME, simply click on the folder icon to find the correct folder. Click Download and Start IDE! That's it!
Do It Manually
To manually add SSH connection details:
<New Connection>from the Connection dropdown
Enter the following information:
- Username: brev
- Host: localhost
- Private Key:
ROOTis ~, in Mac this would be
/Users/<USERNAME>. You must enter the absolute path, relative paths will not work.
- Save Passphrase: Unchecked
- Port: Select the port of the brev project displayed in your terminal after entering brev up. See example below:
Go back to step 3) and continue from there 🙂