Updater for the mq command-line tool.
mq-update is a utility to update the mq binary to the latest version from GitHub releases.
curl -fsSL https://raw.githubusercontent.com/harehare/mq-update/main/scripts/install.sh | bashcargo install --git https://github.com/harehare/mq-update.gitmq-updatemq-update --target v0.5.12
# or
mq-update --target 0.5.12mq-update --currentmq-update --force-t, --target <VERSION>: Target version to install (defaults to latest)-f, --force: Force reinstall even if already up-to-date--current: Show current version-h, --help: Print help-V, --version: Print version
- Checks the current version of
mq - Fetches the latest release information from GitHub
- Downloads the appropriate binary for your platform
- Creates a backup of the existing binary
- Replaces the existing binary with the new one
- Verifies the installation
- Linux (glibc)
- x86_64
- aarch64
- Linux (musl) - Alpine Linux, etc.
- x86_64
- aarch64
- macOS
- x86_64 (Intel)
- aarch64 (Apple Silicon)
- Windows
- x86_64
MIT License - see LICENSE for details.
