Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Yolo CodeNew to Visual Studio Code? Get it now.
Yolo Code

Yolo Code

Johan Vikstroem

|
20 installs
| (0) | Free
VSCode extension for yolo - isolated git worktree management
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

yolo

Run Claude Code in isolated git worktrees with Docker.

Features

  • Isolated Worktrees: Create and manage git worktrees for each task
  • Claude Integration: Run Claude Code in Docker containers on your worktrees
  • Visual Worktree Management: View and manage all worktrees in the sidebar
  • Quick Actions: Right-click code selections to run Claude with context
  • Diff Viewing: Compare worktree changes with your main branch

Prerequisites

  • Git installed
  • Docker installed and running
  • Claude Code CLI installed and authenticated

Setup

1. Install and Authenticate Claude Code CLI

If you haven't already, install the Claude Code CLI:

npm install -g @anthropic-ai/claude-code

Then authenticate:

claude auth login

The extension automatically uses the same authentication as your Claude Code CLI.

2. Install the Extension

Install from the VSCode Marketplace or download the .vsix file.

Usage

Worktree Sidebar

  1. Open the yolo sidebar (rocket icon in the activity bar)
  2. View all your git worktrees
  3. Click the refresh button to update the list

Creating a Worktree

  1. Click the + button in the yolo sidebar
  2. Enter a name for your worktree
  3. The extension creates a new git worktree and copies gitignored files (like node_modules)

Running Claude on a Worktree

From the sidebar:

  1. Click the terminal icon next to any worktree
  2. Enter your prompt for Claude
  3. Claude runs in an isolated Docker container on that worktree

From code selection:

  1. Select code in your editor
  2. Right-click and choose "yolo: Run Claude with Selection"
  3. Enter your prompt - the selected code will be included as context

Viewing Diffs

Use the "yolo: Show Diff" command to compare worktree changes with your main branch.

Commands

  • yolo: Create Worktree - Create a new git worktree
  • yolo: Run Claude in Worktree - Run Claude on a specific worktree
  • yolo: Run Claude with Selection - Run Claude with selected code as context
  • yolo: Show Diff - Show diff between worktree and main branch
  • yolo: Refresh Worktree Tree - Refresh the worktree list

How It Works

  1. Creates isolated git worktrees for each task
  2. Copies gitignored files to new worktrees for faster setup
  3. Runs Claude Code in Docker containers to isolate dependencies
  4. Allows you to work on multiple features in parallel without conflicts

CLI Companion

This extension has a companion CLI tool available on npm:

npm install -g yolo-cli

See the full documentation for more details.

Issues & Contributions

Report issues or contribute at: https://github.com/JohanVikstroem/yolo

License

ISC

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft