memcode docs
Halo

Advanced installation

What the install script does, its options, and signature checking.

Most people only need the one-line install on the Installation page. This page covers the details.

What the install script does

  1. Detects your OS and processor type.
  2. Downloads the matching release and its checksums.txt.
  3. Checks the release signature, when OpenSSL 3 is available, then the archive's checksum.
  4. Installs halo to /usr/local/bin when that is writable, otherwise to ~/.local/bin. It never asks for root.

Read the script before running it if you prefer.

Options

VariableEffect
HALO_VERSION=vX.Y.Zinstall a specific release
HALO_INSTALL_DIR=...install somewhere else
HALO_REQUIRE_SIGNATURE=1fail instead of continuing when the signature cannot be checked
curl -fsSL https://memcode.ai/halo/install.sh | HALO_INSTALL_DIR=$HOME/bin sh

Signature checking on macOS

macOS ships LibreSSL, which cannot check the release signature, so on a stock Mac the install script verifies the checksum only.

  • To check the signature during install, install OpenSSL 3 (brew install openssl), or set HALO_REQUIRE_SIGNATURE=1 to stop when the signature can't be checked.
  • halo upgrade always checks both the signature and the checksum.

On this page