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
Terminal window
brew install kexi/tap/vibe

Add one of the following to your shell configuration (choose based on your installation method):

Terminal window
# Add to ~/.zshrc (choose one)
# For global install (Homebrew, npm -g, bun -g)
vibe() { eval "$(command vibe "$@")" }
# For npx (without global install)
vibe() { eval "$(npx @kexi/vibe "$@")" }
# Or for bunx:
# vibe() { eval "$(bunx @kexi/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)