목차

, , , , , ,

herdr

AI coding agent의 terminal을 workspace, tab, pane 단위로 구성하고 session을 지속시키는 terminal multiplexer.

Summary

Installation

원격 설치 script는 실행 전에 공식 herdr.dev URL인지 확인한다. Windows native 지원은 2026-07-27 기준 preview beta이며 stable channel을 제공하지 않는다.
# Linux / macOS: 공식 installer
curl -fsSL https://herdr.dev/install.sh | sh
 
# macOS / Linuxbrew
brew install herdr
 
# mise
mise use -g herdr
 
# 설치 확인
herdr --version
# Windows preview beta
powershell -ExecutionPolicy Bypass -c "irm https://herdr.dev/install.ps1 | iex"
 
# 설치 확인
herdr --version

Usage

herdr [OPTIONS]
herdr --session NAME [OPTIONS]
herdr --remote SSH_TARGET [--session NAME]
herdr COMMAND [SUBCOMMAND] [OPTIONS] [ARGS...]

Options

Commands

Launch and Status

Session and Workspace

herdr session delete NAME은 저장된 session 상태를 삭제한다. 필요한 session인지 session list로 확인한 뒤 실행한다.

Git Worktree

workspace close는 Herdr 상태만 닫지만 worktree remove는 실제 checkout directory를 제거한다. dirty checkout에서 –force를 사용하면 작업 파일을 잃을 수 있다.

Tab, Pane, and Agent

Integration, Plugin, and Completion

Plugin은 local executable workflow를 실행할 수 있다. source와 manifest를 검토한 뒤 설치하고, automation에서만 –yes를 사용한다.

Examples

Start and Detach

# 기본 session 시작 또는 재접속
herdr
 
# 별도 named session
herdr --session work
 
# 상태 확인
herdr status
herdr session list --json

Workspace Automation

# 현재 project를 focus를 빼앗지 않고 workspace로 생성
herdr workspace create --cwd "$PWD" --label api --no-focus
 
# API 응답을 script에서 쓰기 위한 JSON 조회
herdr session list --json
 
# 최근 pane output 120줄 읽기
herdr pane read 1-1 --source recent-unwrapped --lines 120

Remote Attach

# ~/.ssh/config의 host alias 사용
herdr --remote workbox
 
# named remote session에 attach
herdr --remote workbox --session work
 
# server 측 keybinding 사용
herdr --remote workbox --remote-keybindings server

Shell Completion

# 현재 zsh session에 임시 적용
source <(herdr completion zsh)
 
# persistent zsh completion file 생성
mkdir -p ~/.zfunc
herdr completion zsh > ~/.zfunc/_herdr

Configuration

Troubleshooting

Compatibility

Help

herdr --help

See Also

History