> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# devbox open-ide

> Open a Devbox in a supported IDE.

Use `devbox open-ide` to activate a Devbox, configure local SSH access, and open a remote directory in a supported IDE.

## Usage

```bash theme={null}
devbox open-ide [name] [flags]
```

The Devbox name is optional. If you omit it, the CLI prompts you to select a Devbox.

## Open a Devbox in VS Code

```bash theme={null}
devbox open-ide main
```

## Open a directory in Cursor

```bash theme={null}
devbox open-ide main --flavor cursor --dir app
```

Relative directories are resolved from the Devbox workspace directory. Absolute paths are used as provided.

## Options

<ResponseField name="--dir" type="string">
  Set the remote directory to open. The path may be relative to the workspace or absolute.
</ResponseField>

<ResponseField name="--flavor" type="string" default="vscode">
  Select the IDE. Supported values are `vscode`, `vscode-insiders`, `cursor`, `positron`, `codium`, `windsurf`, and `zed`.
</ResponseField>

<ResponseField name="--show-all" type="boolean" default="false">
  Include Devboxes owned by other workspace members when selecting a Devbox.
</ResponseField>

## Related topics

<Card title="Remote development" icon="monitor" href="/docs/devbox/remote-development">
  Configure IDE and SSH access.
</Card>
