Mapleloom
Docs / Basics

Installation

Mapleloom is distributed as a single binary with nothing else to install. Builds are available for Linux, macOS and FreeBSD on amd64 and arm64.

Quick install

$ curl -fsSL https://uk.gateway.fivestats.org/install.sh | sh

The script detects your operating system and architecture, downloads the archive of the latest release, checks its SHA-256 sum and puts mapleloom into /usr/local/bin. You can read it before running it: install.sh.

From an archive

Every release has archives for each platform, named after the version:

$ curl -LO https://uk.gateway.fivestats.org/releases/0.4.1/mapleloom-0.4.1-linux-amd64.tar.gz
$ tar -xzf mapleloom-0.4.1-linux-amd64.tar.gz
$ sudo install -m 755 mapleloom /usr/local/bin/

From source

Building needs a Rust toolchain, 1.74 or newer:

$ curl -LO https://uk.gateway.fivestats.org/releases/0.4.1/mapleloom-0.4.1.tar.gz
$ tar -xzf mapleloom-0.4.1.tar.gz && cd mapleloom-0.4.1
$ cargo build --release
$ sudo install -m 755 target/release/mapleloom /usr/local/bin/

Check the installation

$ mapleloom --version
mapleloom 0.4.1 (linux/amd64)

Shell completion

$ mapleloom completion bash | sudo tee /etc/bash_completion.d/mapleloom > /dev/null

Completion is also available for zsh and fish. Run mapleloom completion --help for where to put the files.