Install moira
moira is a single binary built with Bun. It contains both the CLI and moira ui.
Requirements
Section titled “Requirements”- 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
moiradport.
Download
Section titled “Download”Releases are published on the private Greek-Stuff/moira GitHub repository. Download with a
gh account that has access, verify the checksum and install:
gh release download -R Greek-Stuff/moira -p 'moira-linux-x64*'sha256sum -c moira-linux-x64.sha256install -D -m 0755 moira-linux-x64 ~/.local/bin/moiramoira --versionPass a tag (gh release download v0.3.0 …) to pin a version.
Shell completion
Section titled “Shell completion”# Bashsource <(moira completion bash)# Zsh, before running compinitmoira completion zsh > "${fpath[1]}/_moira"# Fishmoira completion fish > ~/.config/fish/completions/moira.fishCompletion 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.
Build from source
Section titled “Build from source”git clone https://github.com/Greek-Stuff/moira && cd moiramake build # server/bin/moirad and client/dist/moiraEnroll this machine with each host.