Skip to content

Ubi Backend experimental

You may install GitHub Releases and URL packages directly using ubi backend.

The code for this is inside of the mise repository at ./src/backend/ubi.rs.

Dependencies

This relies on having ubi installed. You can install it with or without mise. Here is how to install ubi-cli with mise:

sh
mise use -g cargo:ubi-cli

Usage

The following installs the latest version of goreleaser and sets it as the active version on PATH:

sh
$ mise use -g ubi:goreleaser/goreleaser
$ goreleaser --version
1.25.1

The version will be set in ~/.config/mise/config.toml with the following format:

toml
[tools]
"ubi:goreleaser/goreleaser" = "latest"

Supported Ubi Syntax

DescriptionUsage
GitHub shorthand for latest release versionubi:goreleaser/goreleaser
GitHub shorthand for specific release versionubi:goreleaser/[email protected]
URL syntaxubi:https://github.com/goreleaser/goreleaser/releases/download/v1.16.2/goreleaser_Darwin_arm64.tar.gz

Other syntax may work but is unsupported and untested.

Licensed under the MIT License. Maintained by @jdx and friends.