Quick Start
Run a complete Axern stack on your machine without cloning the repository or installing Go, Node.js, Helm, kubectl, Make, or OpenSSL.
Prerequisites
Section titled “Prerequisites”- macOS or Linux on amd64 or arm64
- Docker Desktop, or Docker Engine with Compose v2
- At least 4 CPU cores, 8 GiB of memory, and 20 GiB of free disk space
1. Install the CLI
Section titled “1. Install the CLI”brew install cofy-x/tap/axernIf you do not use Homebrew:
curl -fsSL https://raw.githubusercontent.com/cofy-x/axern/main/install.sh | shThe installer downloads a GitHub Release archive, verifies it against checksums.txt, and installs into a user-writable directory. Set AXERN_VERSION or AXERN_INSTALL_DIR to override its defaults.
2. Start Local Axern
Section titled “2. Start Local Axern”axern local upThe command checks Docker and host resources, starts only the core services, waits until the gateway and runtime are healthy, and creates the local context. Host Docker images are not implicitly shared with the node; load the image used by the first workload:
axern local image load python:3.12-slim --pull3. Run a command
Section titled “3. Run a command”axern run python:3.12-slim -- python -c 'print("hello from axern")'Axern streams the command’s stdout and stderr to your terminal. The CLI exits with the command’s real exit code. Every execution also creates a durable Run record that you can inspect later:
axern run listaxern run logs <run-id>Run status is durable. stdout/stderr and explicitly declared files or directory-as-tar outputs are sealed on the Node before runtime cleanup and remain readable for 15 minutes after cleanup starts. They survive axnoded restart, not Node-disk loss, and callers must copy accepted bytes to their own durable store. Axern does not provide a persistent workspace or general object store.
Next steps
Section titled “Next steps”- Learn how to stop, diagnose, reset, and upgrade the stack in Local Axern.
- Define reusable, reviewable executions in Runs.
- See the complete lifecycle reference in
axern local. - Use Kubernetes installation for shared or production deployments.