> ## 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 its workspace, or a file or directory inside it, 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 file or directory in Cursor

```bash theme={null}
devbox open-ide main --flavor cursor --open flake.nix
```

Relative paths are resolved from the Devbox workspace directory. Absolute paths are used as provided. The IDE decides whether to open the path as a file or a folder.

## Options

**--flavor** `string` (default: vscode)

Select the IDE. Supported values are `vscode`, `vscode-insiders`, `cursor`, `positron`, `codium`, `windsurf`, and `zed`.

**--open** `string`

Set the remote file or directory to open. The path may be relative to the workspace or absolute.

**--show\_all** `boolean` (default: false)

Include Devboxes owned by other workspace members when selecting a Devbox.

## Related topics

> [card] [IDEs](https://namespace.so/docs/devbox/ides.md)
>
> Open a Devbox in VS Code, Cursor, JetBrains, or Zed.

> [card] [SSH & Sessions](https://namespace.so/docs/devbox/connecting.md#ssh)
>
> SSH access and SSH config for a Devbox.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.