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/forge/ubi.rs.

Dependencies

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

sh
mise use -g cargo:ubi

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.