Command
See also: Configuration
Browse the full list of rimba commands below. Each command has its own page with synopsis, examples, common workflows, flags, and related commands.
Global Flags
These flags are available on every command:
| Flag | Description |
|---|---|
--json |
Output in JSON format (supported by list, status, deps status, conflict-check, exec, log) |
--no-color |
Disable colored output (also respects NO_COLOR env var) |
--debug |
Log git commands and timings to stderr (also respects RIMBA_DEBUG=1) |
--yes |
Approve committed shell commands without prompting (see rimba trust; also respects RIMBA_TRUST_YES=1) |
Setup
Worktree Lifecycle
Create a new worktree (supports monorepo scoping, PR checkout, branch promotion)
rimba removeRemove a worktree and delete the local branch
rimba renameRename a worktree's task, branch, and directory
rimba duplicateCreate a new worktree from an existing one, inheriting its branch prefix
rimba archiveArchive a worktree (remove directory, keep branch)
rimba restoreRestore an archived worktree from its preserved branch
Inspection
List all worktrees with task, type, and status
rimba statusShow a worktree dashboard with summary stats and age information
rimba logShow the most recent commit from each worktree
rimba openOpen a worktree path or run a command inside it
Merging & Syncing
Merge a worktree's branch into main or another worktree
rimba syncSync worktree(s) with the main branch via rebase or merge
rimba merge-planAnalyze file overlaps and recommend an optimal merge order
rimba conflict-checkScan branches for files modified in multiple worktrees
Bulk Operations
Hooks
Dependencies
AI Integration
Maintenance
Prune stale references or remove merged/stale worktrees
rimba doctorDiagnose and remove stale git index.lock files left by killed worktree operations
rimba trustReview and approve committed shell commands for this repo
rimba updateCheck for and install the latest rimba release
rimba versionPrint version, commit, build date, and platform info
rimba completionGenerate shell completion scripts
Table of contents
- rimba init
- rimba add
- rimba remove
- rimba rename
- rimba duplicate
- rimba archive
- rimba restore
- rimba list
- rimba status
- rimba log
- rimba open
- rimba merge
- rimba sync
- rimba merge-plan
- rimba conflict-check
- rimba exec
- rimba hook
- rimba deps
- rimba mcp
- rimba clean
- rimba doctor
- rimba trust
- rimba update
- rimba version
- rimba completion