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:
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 itAny 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.
Change the backend prefix:
ubi entry Replacement ubi:owner/repogithub:owner/repoubi:owner/repowithprovider = "gitlab"gitlab:owner/repoubi:https://..., a direct download URLAn http:tool with thaturland a version labelA tool you configure by its registry name (
gh = "2") has no prefix to change. If itsmise.lockentries record aubi:backend, delete those entries instead, so the tool installs from the registry's backend.Replace the tool options using the option mapping.
Install the tool and run it:
shmise install mise exec -- <command> --versionFor 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/ghforgh), and without--forcemise would keep the version ubi installed there.--forcereplaces only the versions your config selects. Other versions ubi installed in that directory stay there; delete them withmise 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: runmise install --force <tool>in each project that uses the tool, after removing itsubi:lock entries.mise prune --dry-run <tool>lists what prune would delete.If you use a lockfile, run
mise lockto write entries for the new tool. The old installation of aubi:owner/repotool stays in mise's data directory; delete itsinstalls/ubi-owner-repodirectory 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 option | Replacement |
|---|---|
exe | Usually remove it: the github and gitlab backends extract the whole archive and find the executables. To expose only some, use filter_bins. |
rename_exe | rename_exe. When exe named a file other than the repository name, use the table form, such as rename_exe = { "gh" = "gh-cli" }. |
matching | matching, which applies before platform detection; see Behavior differences. |
matching_regex | matching_regex |
provider | The github: or gitlab: prefix |
api_url | api_url |
extract_all | Remove it: these backends always extract the whole archive. |
bin_path | bin_path. The github backend strips a single top-level directory unless bin_path is set, so check the path against the archive. |
tag_regex | No equivalent. version_prefix keeps only tags that start with a fixed prefix. |
Behavior differences
| Behavior | ubi | github and gitlab backends |
|---|---|---|
matching | Breaks a tie between assets that already match your platform, and is ignored when only one matches | Filters assets before platform detection; a value that matches no asset for your platform is an error |
| What is installed | One executable, unless extract_all is set | The whole archive; the directories with executables go on PATH, so other executables in the archive can appear there |
| Repositories without releases | Lists Git tags as versions | Lists only releases with assets, so a repository that publishes only tags has no versions |
| Verification | Records a checksum of the installed executable, or of the whole install with extract_all | Checks 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.