Skip to content

Install moira

moira is a single binary built with Bun. It contains both the CLI and moira ui.

  • Linux x86-64 with glibc 2.17 or newer. Alpine’s default musl runtime is not supported (see Bun’s Linux requirements).
  • Network access to each host’s moirad port.

Releases are published on the private Greek-Stuff/moira GitHub repository. Download with a gh account that has access, verify the checksum and install:

Terminal window
gh release download -R Greek-Stuff/moira -p 'moira-linux-x64*'
sha256sum -c moira-linux-x64.sha256
install -D -m 0755 moira-linux-x64 ~/.local/bin/moira
moira --version

Pass a tag (gh release download v0.3.0 …) to pin a version.

Terminal window
# Bash
source <(moira completion bash)
# Zsh, before running compinit
moira completion zsh > "${fpath[1]}/_moira"
# Fish
moira completion fish > ~/.config/fish/completions/moira.fish

Completion suggests commands, flags, configured hosts and targets. Targets come from a per-host cache under ~/.cache/moira/index/ that moira ls and target resolution refresh. Commands themselves always use live data.

Terminal window
git clone https://github.com/Greek-Stuff/moira && cd moira
make build # server/bin/moirad and client/dist/moira

Enroll this machine with each host.