mdgreenwald/Install ubi

Install the ubi CLI and optionally use it to install other tools from forge releases.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 14, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: mdgreenwald/setup-ubi@a99dc106a22da281762972de95a16a0aec80e644 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionThe ubi version to install (e.g. `v0.9.0`). Defaults to `latest`.nolatest
install-dirWhere ubi itself is installed. Defaults to `$HOME/.ubi/bin`.no""
skip-install-ubiIf `true` and ubi is already on PATH, skip installing it.nofalse
github-tokenForwarded as `GITHUB_TOKEN` to all ubi invocations.no${{ github.token }}
gitlab-tokenForwarded as `GITLAB_TOKEN` to all ubi invocations if set.no""
codeberg-tokenForwarded as `CODEBERG_TOKEN` to all ubi invocations if set.no""
projectSingle-tool shorthand. Installs one project after ubi is on PATH.no""
tagTag for the single-tool case.no""
exe`--exe` for the single-tool case.no""
matching`--matching` for the single-tool case.no""
in`--in` directory for both the single-tool case and each `tools` line that doesn't override it. Defaults to `$HOME/.local/bin`.no""
toolsMulti-line bulk install. Each non-empty, non-`#` line is passed verbatim as args to ubi.no""
add-to-pathAppend the `in` directory to `$GITHUB_PATH` so installed tools are immediately usable. Only applies when at least one tool was requested.notrue
namedescription
ubi-pathAbsolute path to the installed ubi binary.