macOS (Apple Silicon)
Installation
v0.2.1 Latest Release
Pre-built Binaries
Section titled “Pre-built Binaries”The fastest way to install Aranet CLI is using pre-built binaries:
brew tap cameronrye/aranetbrew install aranetcurl --proto '=https' --tlsv1.2 -LsSf \ https://github.com/cameronrye/aranet/releases/latest/download/aranet-cli-installer.sh | shpowershell -ExecutionPolicy ByPass -c "irm https://github.com/cameronrye/aranet/releases/latest/download/aranet-cli-installer.ps1 | iex"On a minimal Linux system, such as a container image, first install curl, ca-certificates, xz-utils and the D-Bus library (for example apt-get update && apt-get install -y curl ca-certificates xz-utils libdbus-1-3, as root or with sudo): the installer downloads with curl and unpacks a .tar.xz archive, and aranet needs libdbus-1.so.3 to talk to BlueZ.
The prebuilt Linux binaries need glibc 2.35 or newer: Ubuntu 22.04, Debian 12, Raspberry Pi OS Bookworm, Fedora 36 or later. On an older system, build from source instead (see Downloads).
Download Direct
Section titled “Download Direct”Download binaries directly from GitHub Releases:
macOS (Intel)
Linux (x86_64)
Linux (ARM64)
Windows (x86_64)
Docker
Section titled “Docker”Run aranet-service in a container (requires BLE access on the host):
docker compose up -dOr use the full monitoring stack with Prometheus and Grafana:
docker compose -f docker/docker-compose.yml up -dSee Service Deployment for configuration details.
Install from crates.io
Section titled “Install from crates.io”Install using Cargo (requires Rust toolchain):
cargo install aranet-cliThis installs the aranet executable.
Build from Source
Section titled “Build from Source”Alternatively, build from source for the latest development version:
-
Clone the repository
Terminal window git clone https://github.com/cameronrye/aranet.gitcd aranet -
Build all crates
Terminal window cargo build --release -
Run the CLI
Terminal window ./target/release/aranet --help
Platform-Specific Notes
Section titled “Platform-Specific Notes”No additional dependencies required. Bluetooth access will prompt for permission on first use.
Install the D-Bus development library:
# Debian/Ubuntusudo apt-get install libdbus-1-dev
# Fedorasudo dnf install dbus-devel
# Archsudo pacman -S dbusNo additional dependencies required. Ensure Bluetooth is enabled in Windows settings.
Installing the CLI Globally
Section titled “Installing the CLI Globally”To install the CLI to your Cargo bin directory:
cargo install --path crates/aranet-cliThis allows you to run aranet from anywhere:
aranet scanShell Completions
Section titled “Shell Completions”Generate shell completions for your shell:
aranet completions bash > ~/.local/share/bash-completion/completions/aranetaranet completions zsh > ~/.zfunc/_aranetaranet completions fish > ~/.config/fish/completions/aranet.fishUsing as a Library
Section titled “Using as a Library”Add aranet-core to your Cargo.toml:
[dependencies]aranet-core = "0.2"Verify Installation
Section titled “Verify Installation”If you used the shell or PowerShell installer, open a new terminal first. Then check that everything is working:
# Show versionaranet --version
# Run BLE diagnosticsaranet doctor
# Scan for devices (requires Bluetooth)aranet scan --timeout 5