A minimalistic environment manager for Git Worktree workflows.
Provide a lightweight way to spin up and manage per-worktree shell environments so each branch can have isolated tooling, variables, and startup behavior without heavy setup.
- Keep worktree setup simple and fast.
- Reduce context switching between branches.
- Standardize environment bootstrapping for local development.
- Stay script-first and easy to customize.
curl -sSL https://raw.githubusercontent.com/ibedwi/enman/main/install.sh | bashThen reload your shell:
source ~/.zshrc # or source ~/.bashrcThis clones enman to ~/.enman/bin/ and adds an enman alias to your shell config.
- Prepare your project env templates under:
~/.enman/projects/<project-name>/...
All project data is stored in ~/.enman/ in your home directory. You can override this by setting the ENMAN_HOME environment variable.
- Copy env files into a target worktree directory:
enman setup <project-name> <target-directory>
# example
enman setup my-cool-project /path/to/worktreeThe command copies all .env files from ~/.enman/projects/<project-name> to <target-directory>, preserving directory structure.
enman setup <project-name> <target-directory>enman scan <project-name> [directory]enman projects <action> [arguments]enman update