rimba deps

Manage worktree dependencies — detect lockfiles, clone dependency directories from existing worktrees with matching lockfile hashes, and install packages.

The deps command has two subcommands: status and install.


rimba deps status

Show detected dependency modules and lockfile hashes for all worktrees.

Synopsis

rimba deps status [--json]

Examples

rimba deps status
refs/heads/main (/path/to/repo)
  node_modules [a1b2c3d4e5f6]
  vendor [7g8h9i0j1k2l]
refs/heads/feature/auth (/path/to/worktrees/feature-auth)
  node_modules [a1b2c3d4e5f6]
  vendor [7g8h9i0j1k2l]

rimba deps install

Detect and install dependencies for a specific worktree. Clones from an existing worktree with a matching lockfile hash, or falls back to the configured install command.

Synopsis

rimba deps install <task>

Examples

rimba deps install my-feature

Common workflows

Check dependency state across worktrees

rimba deps status
# Matching hashes means deps were cloned (fast); different hashes mean a fresh install ran

Manually reinstall deps after lockfile change

rimba deps install my-feature

Skip auto-install during add, install manually later

rimba add my-feature --skip-deps
# ... modify lockfile ...
rimba deps install my-feature
  • rimba add · use --skip-deps to defer installation
  • rimba restore · use --skip-deps to defer installation
  • rimba trust · approve deps.modules[].install shell commands

This site uses Just the Docs, a documentation theme for Jekyll.