Skip to main content

hjk kill

Kill a specific session within an instance.

Synopsis

hjk kill <branch>/<session>

Description

Terminates the multiplexer session and removes it from the catalog. The instance and other sessions are unaffected.

The argument must be in the format <branch>/<session>, where branch is the instance branch name and session is the session name. Since branch names can contain slashes (e.g., feat/auth), the command splits on the last slash to separate branch from session.

Arguments

ArgumentDescription
branch/sessionCombined branch and session name separated by / (required)

Examples

# Kill a session
hjk kill feat/auth/debug-shell

# Kill a session in main branch instance
hjk kill main/claude-experiment

# Branch names with slashes are supported
hjk kill feature/user-auth/my-session

Argument Format

The <branch>/<session> format allows branch names that contain slashes:

InputBranchSession
main/my-sessionmainmy-session
feat/auth/debugfeat/authdebug
feature/api/v2/testfeature/api/v2test

See Also

  • hjk ps - List sessions to find session names
  • hjk stop - Stop the entire instance
  • hjk rm - Remove an instance entirely