macOS (Apple Silicon)
Installation
v0.1.9 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 | shirm https://github.com/cameronrye/aranet/releases/latest/download/aranet-cli-installer.ps1 | iexDownload Direct
Section titled “Download Direct”Download binaries directly from GitHub Releases:
macOS (Intel)
Linux (x86_64)
Windows (x86_64)
Install from crates.io
Section titled “Install from crates.io”Install using Cargo (requires Rust toolchain):
cargo install aranet-cliBuild 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.1"Verify Installation
Section titled “Verify Installation”Check that everything is working:
# Show versionaranet --version
# Run BLE diagnosticsaranet doctor
# Scan for devices (requires Bluetooth)aranet scan --timeout 5Made with ❤️ by Cameron Rye