- Introduction
- Getting started
- Configuration
- Dev Container
- Automations
- Editors
- VS Code
- Cursor
- JetBrains
- Zed
- Gitpod Desktop
- Self-Hosted Runner
- AWS
- Azure
Coming soon
- GCP
Coming soon
- Linux
Coming soon
- Source Control
- GitHub
- GitLab
Coming soon
- Bitbucket
Coming soon
- Integrations
- Port sharing
- Personal access tokens
- Administration
- Organizations
- Projects
- Billing
- Reference
- CLI
Cursor
Gitpod works with any remote and SSH compatible editor, including Cursor.
Step 1 - Install the CLI and setup your SSH configuration
The easiest way to setup SSH configuration is by installing the Gitpod CLI.
Once installed, run gitpod env ssh-config
to update your local SSH configuration.
To validate ensure the directory ~/.ssh/gitpod
is created on your local machine.
Step 2 - Find the host for your environment
You can find the host name on your started environment details page.
The host format is: <environment-id>.gitpod.environment
For example: 01922350-2462-79da-8c80-770fe4275aa2.gitpod.environment
Note: You do not need the
ssh
command when connecting to Cursor.
Step 3 - Connect with your environment
Finally, paste the host into the connect to host box.
Once connected you will need to open your source code.
Source code is cloned into the /workspaces/
directory.
Select /workspaces/<your-repository-name>
to open your code.
Useful information
- Ports are not forwarded automatically, you will need to add them manually to the ports view to view
localhost
URLs.