EM Kit CLI
The EM Kit CLI lets you query and update EM Kit data from your terminal.
- Works with the EM Kit desktop app runtime.
- If EM Kit is not running, the first CLI command launches it automatically.
- Supports both one-shot commands and an interactive TUI.
- Focuses on EM Kit local data (no GitHub CLI replacement).
Install from EM Kit desktop
Section titled “Install from EM Kit desktop”- Open Settings -> Command Line Tool.
- Click Install Command Line Tool.
- Confirm the install location.
On macOS, the default install directory is:
~/.emkitThe executable path is typically:
~/.emkit/emkitAdd to PATH
Section titled “Add to PATH”If you see CLI install directory is not in PATH, add the install directory to your shell PATH.
zsh (default on macOS)
Section titled “zsh (default on macOS)”echo 'export PATH="$HOME/.emkit:$PATH"' >> ~/.zshrcsource ~/.zshrcecho 'export PATH="$HOME/.emkit:$PATH"' >> ~/.bashrcsource ~/.bashrcfish_add_path $HOME/.emkitVerify:
which emkitemkit helpEM Kit MCP
Section titled “EM Kit MCP”If you want to connect EM Kit to Claude Code, Cursor, or Codex through MCP, use the dedicated guide:
Usage modes
Section titled “Usage modes”One-shot commands
Section titled “One-shot commands”emkit doctoremkit workspace listemkit member list --workspace-id 1emkit ai workspace-summary --workspace-id 1emkit ai feedback --workspace-id 1 --status to_shareemkit issue list --workspace-id 1 --status todo,in_progressInteractive TUI
Section titled “Interactive TUI”emkit# oremkit tuiTUI supports:
- Tab autocomplete
- Up/down history
helpandquit
Common commands
Section titled “Common commands”emkit doctoremkit mcp
emkit ai workspace-summary --workspace-id 1emkit ai team-members --workspace-id 1 --limit 20emkit ai feedback --workspace-id 1 --status to_shareemkit ai daily-notes --workspace-id 1 --days 14emkit ai work-log --workspace-id 1 --days 14emkit ai latest-review-period --workspace-id 1
emkit workspace listemkit workspace get --id 1emkit workspace create --name "Platform"emkit workspace update --id 1 --name "Platform Team"emkit workspace delete --id 1
emkit member list --workspace-id 1emkit member get --id 2emkit member create --input '{"workspace_id":1,"name":"Jane Doe"}'emkit member update --id 2 --input '{"name":"Jane D."}'emkit member delete --id 2
emkit issue list --workspace-id 1emkit issue list --workspace-id 1 --status todo,in_progressemkit issue list --workspace-id 1 --priority urgent,high --assignee-type meemkit issue get --id 5emkit issue create --input '{"workspace_id":1,"title":"Fix login bug","priority":"high"}'emkit issue update --id 5 --input '{"status":"in_progress"}'emkit issue delete --id 5
emkit report history --workspace-id 1emkit report get --report-id 12emkit report delete --report-id 12
emkit db query --sql 'SELECT id, name FROM workspaces LIMIT 10'emkit db exec --sql 'UPDATE workspaces SET name = ? WHERE id = ?' --params '["Platform",1]'JSON output
Section titled “JSON output”CLI responses are JSON, which makes it easy to consume from scripts and AI agents.
{ "ok": true, "command": "workspace list", "data": [ { "id": 1, "name": "Platform", "created_at": "2026-03-06 19:21:00" } ]}Use compact output when needed:
emkit workspace list --compactTroubleshooting
Section titled “Troubleshooting”CLI install directory is still reported as not in PATH
Section titled “CLI install directory is still reported as not in PATH”- Make sure your shell config contains
$HOME/.emkit(or your selected install directory). - Open a new terminal window (or
sourceyour shell config). - Check current PATH:
echo $PATH- Re-run Refresh in EM Kit Settings -> Command Line Tool.
Install directory is not writable
Section titled “Install directory is not writable”Create the directory and set ownership:
mkdir -p ~/.emkitchown -R "$USER" ~/.emkitThen install again from EM Kit Settings.
Development mode behavior
Section titled “Development mode behavior”If EM Kit is running via npm run dev:electron, the installed dev launcher can target your dev app runtime. Keep the dev app running while testing terminal commands.