Skip to content

Getting Started

vibe is a CLI tool that simplifies Git Worktree management. It helps you:

  • Create worktrees for new features without leaving your main repository
  • Automatically copy configuration files and dependencies
  • Run setup hooks when creating or cleaning up worktrees
  • Safely manage worktree lifecycle with interactive prompts
bash brew install kexi/tap/vibe

Add the following to your shell configuration:

Terminal window
# Add to ~/.zshrc
vibe() { eval "$(command vibe "$@")" }
Terminal window
# Start working on a new feature
vibe start feat/my-new-feature
# Your terminal is now in the new worktree!
# Make your changes, commit, push, etc.
# When done, clean up the worktree
vibe clean
main repository
├── vibe start feat/feature-a → repo-feat-feature-a/
│ │
│ └── (work on feature)
└── vibe clean ←─────────────────────────┘
(returns to main, removes worktree)