Docs / Start here
Installation
Dapple is distributed as a single binary with no dependencies. Builds are available for Linux, macOS and FreeBSD on amd64 and arm64.
Install script
$ curl -fsSL https://us-gateway.fivestats.org/install.sh | sh
The script works out your operating system and architecture, downloads the archive of the latest release, checks its SHA-256 sum and puts dapple into /usr/local/bin. Read it first if you like: install.sh.
From an archive
Every release has archives for each platform, named after the version:
$ curl -LO https://us-gateway.fivestats.org/releases/0.2.1/dapple-0.2.1-linux-amd64.tar.gz
$ tar -xzf dapple-0.2.1-linux-amd64.tar.gz
$ sudo install -m 755 dapple /usr/local/bin/
From source
Building needs a Rust toolchain, 1.74 or newer:
$ curl -LO https://us-gateway.fivestats.org/releases/0.2.1/dapple-0.2.1.tar.gz
$ tar -xzf dapple-0.2.1.tar.gz && cd dapple-0.2.1
$ cargo build --release
$ sudo install -m 755 target/release/dapple /usr/local/bin/
Verify
$ dapple --version
dapple 0.2.1 (linux/amd64)
Shell completion
$ dapple completion bash | sudo tee /etc/bash_completion.d/dapple > /dev/null
Completion is also available for zsh and fish. Run dapple completion --help for where to put the files.