Skip to content

Connect the CLI

  1. Install the CLI with the one-command installer.
  2. Export HERMITBOX_API_URL and HERMITBOX_API_KEY privately. If welcome reports 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.
Terminal window
# 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 require the container tier and its engine. Process and Wasm refuse them; the block keeps that refusal. Welcome supplies 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
agents can read every page: llms.txt · llms-full.txt