Skip to content

Migrating off the ubi backend removed ​

The ubi backend installed single executables from GitHub and GitLab releases with the ubi library. It was deprecated in mise 2026.4.0, and mise releases after 2026.11.14 no longer include it. Move each ubi: tool to the github, gitlab or http backend.

mise does not translate ubi: entries for you, because the options don't carry over one for one and the new backend installs the tool in a different directory. A config, lockfile or command that still names a ubi: tool fails to install it, with an error that names the replacement:

text
ubi:cli/cli: the ubi backend was removed from mise. Use github:cli/cli (gitlab:cli/cli for a GitLab project) instead. See https://mise.jdx.dev/dev-tools/backends/ubi.html for how ubi options map to it

Any command that names the tool, such as mise ls-remote ubi:cli/cli, fails with that error too. Commands that read every tool from your config without naming one, such as mise ls and mise env, skip the tool and print the message as a warning.

Migrate a tool ​

Migrate one tool at a time, and keep the old installation until the replacement works.

  1. Change the backend prefix:

    ubi entryReplacement
    ubi:owner/repogithub:owner/repo
    ubi:owner/repo with provider = "gitlab"gitlab:owner/repo
    ubi:https://..., a direct download URLAn http: tool with that url and a version label

    A tool you configure by its registry name (gh = "2") has no prefix to change. If its mise.lock entries record a ubi: backend, delete those entries instead, so the tool installs from the registry's backend.

  2. Replace the tool options using the option mapping.

  3. Install the tool and run it:

    sh
    mise install
    mise exec -- <command> --version

    For a tool you configure by its registry name, run mise install --force <tool> instead. Its old installation is in the directory the registry's backend installs to (installs/gh for gh), and without --force mise would keep the version ubi installed there. --force replaces only the versions your config selects. Other versions ubi installed in that directory stay there; delete them with mise prune <tool>, which keeps the versions a config still uses. Prune can't tell which backend installed a version, so a version that another project selects stays as ubi installed it: run mise install --force <tool> in each project that uses the tool, after removing its ubi: lock entries. mise prune --dry-run <tool> lists what prune would delete.

  4. If you use a lockfile, run mise lock to write entries for the new tool. The old installation of a ubi:owner/repo tool stays in mise's data directory; delete its installs/ubi-owner-repo directory when you no longer need it.

A tool that named its executable with exe usually needs no option on the new backend, because the github backend extracts the archive and finds the executable:

[tools]
# was: "ubi:BurntSushi/ripgrep" = { version = "14.1.1", exe = "rg" }
"github:BurntSushi/ripgrep" = "14.1.1"

To keep a renamed executable, rename it by its file name:

[tools]
# was: "ubi:cli/cli" = { version = "latest", exe = "gh", rename_exe = "gh-cli" }
"github:cli/cli" = { version = "latest", rename_exe = { "gh" = "gh-cli" } }

A GitLab tool moves to the gitlab backend:

[tools]
# was: "ubi:gitlab-org/cli" = { version = "latest", exe = "glab", provider = "gitlab" }
"gitlab:gitlab-org/cli" = "latest"

Option mapping ​

ubi optionReplacement
exeUsually remove it: the github and gitlab backends extract the whole archive and find the executables. To expose only some, use filter_bins.
rename_exerename_exe. When exe named a file other than the repository name, use the table form, such as rename_exe = { "gh" = "gh-cli" }.
matchingmatching, which applies before platform detection; see Behavior differences.
matching_regexmatching_regex
providerThe github: or gitlab: prefix
api_urlapi_url
extract_allRemove it: these backends always extract the whole archive.
bin_pathbin_path. The github backend strips a single top-level directory unless bin_path is set, so check the path against the archive.
tag_regexNo equivalent. version_prefix keeps only tags that start with a fixed prefix.

Behavior differences ​

Behaviorubigithub and gitlab backends
matchingBreaks a tie between assets that already match your platform, and is ignored when only one matchesFilters assets before platform detection; a value that matches no asset for your platform is an error
What is installedOne executable, unless extract_all is setThe whole archive; the directories with executables go on PATH, so other executables in the archive can appear there
Repositories without releasesLists Git tags as versionsLists only releases with assets, so a repository that publishes only tags has no versions
VerificationRecords a checksum of the installed executable, or of the whole install with extract_allChecks the release's digest or checksum file and GitHub artifact attestations, and records the download URL in mise.lock

Neither backend keeps two entries for the same owner/repo apart: ubi:owner/repo[matching=a] and ubi:owner/repo[matching=b] resolve to one tool, and only the first entry is installed. To install several binaries from one release, give each its own tool alias that points at github:owner/repo.

MIT LicenseCopyright © 2026jdx.dev