Usage
binmate can be driven either through its interactive TUI or via individual CLI commands. This page covers everyday usage; see the interface for a tour of the TUI and the CLI reference for the full command list.
GitHub authentication recommended
Authenticating with GitHub avoids API rate limits and unlocks private repository access. See the authentication guide to set up a token or askpass script.
Interactive mode
Launch the TUI for interactive management by running binmate with no arguments:
binmateThis opens the Binary List View where you can browse, search, filter, and manage your binaries.
CLI commands
Add a binary
Add a binary from a GitHub release URL or from config:
# Add from URL
binmate add https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_linux_amd64.tar.gz
# Add from config
binmate add ghList binaries
List all registered binaries:
binmate listList versions of a specific binary:
binmate list ghInstall a binary
Install a specific version of a binary:
binmate install --binary gh --version v2.30.0Install the latest version:
binmate install --binary gh --version latestSwitch versions
Switch to a different installed version:
binmate switch gh v2.29.0Update to latest
Update a binary to the latest version:
binmate update ghRemove a binary
Remove a binary from the database:
binmate remove ghRemove a binary and its files:
binmate remove gh --filesView configuration
Display the current configuration:
binmate configDisplay configuration as JSON:
binmate config --jsonSync configuration
Sync the configuration file with the database:
binmate syncVersion information
Show the current binmate version:
binmate --version
binmate versionShow detailed build metadata:
binmate version --verboseNext steps
- Browse the full CLI reference.
- Learn how to configure binmate.