Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ahmadawais/gwtree/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
GWTree requires Node.js 18.0.0 or higher.Make sure you have git installed and are working within a git repository.
Install globally
Install GWTree globally to use thegwt command anywhere:
Verify installation
Check that GWTree is installed correctly:First-time setup
On first run, GWTree creates a config file at~/.config/gwtree/config.json with default settings:
Configuration options
Editor to open worktrees in:
code, cursor, default (uses $EDITOR), or noneAutomatically install dependencies when creating worktrees
Last used package manager:
pnpm, npm, yarn, bun, or nullManage configuration
Open the config file in your editor:Uninstall
To remove GWTree:Configuration files in
~/.config/gwtree/ and worktree records in ~/.gwtree/ will remain after uninstall. Delete these directories manually if needed.Next steps
Quickstart
Create your first worktree and learn the essential commands