Crib 4 VSCode / Cursor
Devcontainers from your favorite IDE, in one click
crib-vscode is a VS Code and Cursor extension that wraps crib — a thin, opinionated CLI for “just enough devcontainers” — and gives it a one-click flow inside your editor.
Open a project, press a key, and you get a fully provisioned devcontainer with your editor attached. No devcontainer.json ceremony, no waiting for the IDE to rebuild, no losing your current window.
Why it exists
Devcontainers are great. Most editor integrations for them are heavy: they couple the container lifecycle to the IDE, they restart your window, they hide what’s actually happening, and they often don’t work when you want to attach a second editor (looking at you, Cursor) to a container that’s already running.
crib-vscode goes the other way. The container lifecycle lives in crib, a small CLI you can run from anywhere. The extension is a thin layer on top: it spins containers up, attaches your editor over Remote-SSH, and gets out of the way.
How it works
Crib: Up— provisions a container for the current workspace and starts itCrib: Attach— opens a new editor window inside the running containerCrib: Down— stops and removes the container when you’re done
That’s it. Three commands, zero configuration if you don’t want any.
Cursor support
Cursor’s Remote-SSH attach flow has a known limitation: the extension that initiates the attach is killed when the new window opens, which breaks the handoff. crib-vscode ships with a companion crib-vscode-ui-bridge extension that survives the transition by running on the UI host instead of the workspace host. Install both and the flow works the same in Cursor as it does in VS Code.
If you’ve been waiting for clean devcontainer support in Cursor, this is it.
Key features
- One-click up, attach, and down — three commands, no configuration files required
- Works in VS Code and Cursor — companion bridge extension makes Cursor’s Remote-SSH flow reliable
- Wraps
crib, doesn’t replace it — you keep the CLI for everything else - Multi-root workspace aware — picks the right container for the active workspace
- Output channel logging — see exactly what’s happening, no black box
- Open source — TypeScript, MIT-licensed, contributions welcome
Install
- VS Code Marketplace
- Open VSX (for Cursor / VSCodium)
- For Cursor, also install
crib-vscode-ui-bridge. - You’ll also need crib installed and on your
$PATH.