VS Code
Use this guide when VS Code or a VS Code-based editor is your primary destination for opening and managing Arashi worktrees.
Cursor and Kiro are VS Code forks, so the same editor-first workflow generally applies there as well. This page focuses on VS Code because the Arashi extension is published through the standard VS Code extension ecosystems.
Open a Worktree in VS Code
Section titled “Open a Worktree in VS Code”Use the CLI when you are already in the terminal and want to open a specific worktree immediately.
arashi switch --vscode feature-auth- Best for editor-first workflows where the terminal is secondary.
- Good default when your team reviews changes primarily inside VS Code.
- Useful when you want a one-off editor launch without changing workspace defaults.
Install the VS Code Extension
Section titled “Install the VS Code Extension”Install the Arashi extension when you want Arashi controls inside the editor, not just a one-off CLI launch.
- VS Code Marketplace: haphazarddev.arashi-vscode
- Open VSX: haphazarddev.arashi-vscode
With the extension installed, you can:
- run core Arashi commands from the command palette, including
init,add,clone,create,pull,sync,switch, andremove - browse available worktrees in the Arashi Worktrees Explorer view grouped by repository, including repo, branch, path, and change status
- use panel title actions to create worktrees and refresh the current view without leaving the editor
- use inline worktree actions to switch or remove a selected worktree with the exact clicked target
- open the workspace root or a related repository in a new editor window from the panel or command palette
- review command diagnostics in the Arashi output channel when setup or command execution fails
- respond to startup warnings in-editor, including a shortcut to run
Arashi: Init Workspace
If the panel is not immediately visible, open the Explorer sidebar and reveal the Arashi Worktrees view from the Explorer view menu.
Recommended Usage Pattern
Section titled “Recommended Usage Pattern”- Use
arashi switch --vscode <branch>when you are already in the terminal and want VS Code to open a specific worktree immediately. - Use the extension when VS Code is your primary shell for day-to-day worktree management and you want a persistent worktree panel.
- Set
arashi.binaryPath,arashi.workspaceRoot, orarashi.commandTimeoutMsin VS Code settings when the editor should target a specific binary or workspace root. - Use
--cursoror--kirowhen you want the same VS Code-style workflow in those editors.