Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

dex is distributed as a pre-built native binary on GitHub Releases. No Python, no runtime, no toolchain required to run it.

The fastest way to install dex is with the installer script, which downloads the right binary for your platform:

curl -sSf https://raw.githubusercontent.com/yarrib/dex/main/install.sh | sh

The script will:

  1. Detect your OS and CPU architecture
  2. Fetch the latest release from GitHub
  3. Download the correct binary
  4. Place it in ~/.local/bin (or the platform default)

After install, dex is available globally:

dex --help

Note: The install script supports Linux and macOS. For Windows, use the manual install path below.

Manual install

  1. Go to the latest release
  2. Download the binary for your platform:
PlatformFilename
Linux x86_64dex-linux-x86_64
Linux aarch64dex-linux-aarch64
macOS Apple Silicondex-macos-aarch64
macOS Inteldex-macos-x86_64
Windows x86_64dex-windows-x86_64.exe
  1. Make it executable and move it onto your PATH:
chmod +x dex-linux-x86_64
mv dex-linux-x86_64 ~/.local/bin/dex

Upgrade

Re-run the install script to upgrade to the latest release:

curl -sSf https://raw.githubusercontent.com/yarrib/dex/main/install.sh | sh

Or download the new binary manually from GitHub Releases.

Uninstall

Remove the binary from wherever you placed it:

rm ~/.local/bin/dex

Build from source

Requires Rust (stable).

git clone https://github.com/yarrib/dex
cd dex
cargo build --release
# Binary at: target/release/dex

Install directly:

cargo install --path crates/dex-cli

Requirements

No runtime dependencies. The dex binary is fully self-contained.

For building from source: Rust stable toolchain (rustup update stable).