Skip to content
docs
type to search↑↓ move↵ openesc close
v0.2.1github

Connect the CLI

1 min readv0.2.1this page as markdown
let your agent do it
Connect the Hermitbox CLI and prove it works.
Paste it into your agent. It follows this page as Markdown: cli.md

Run a one-shot command in a sandbox from your shell with the Hermitbox CLI.

  1. Install the CLI with the one-command installer.
  2. Export HERMITBOX_API_URL and HERMITBOX_API_KEY privately. If your install defaults to container, also export HERMITBOX_IMAGE=alpine:3.22; leave HERMITBOX_IMAGE unset for process or wasm.
  3. Run this block. It prints hello and removes its sandbox.
shell
# A container host needs an image; process and Wasm hosts must not get one.
if [ -n "${HERMITBOX_IMAGE:-}" ]; then
  hermitbox run --image "$HERMITBOX_IMAGE" -- echo hello
else
  hermitbox run -- echo hello
fi

Images need the container tier and its engine. Process and Wasm refuse them, and the block keeps that refusal.

A server install’s welcome page also prints an exact block for its configured tier. See host boundaries.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line