Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Runtimes

teeup controls language runtimes with mise. mise is in the core tier, but the languages are not. You install the languages that you use, with one command for each language.

teeup install dev-env python
LanguageCommandWhat it installs
Pythonteeup install dev-env pythonThe latest Python, and uv
Nodeteeup install dev-env nodeThe latest Node
Javateeup install dev-env javaThe latest Java
Rubyteeup install dev-env rubyThe latest Ruby
Rustteeup install dev-env rustThe latest Rust, through mise’s rust backend, which uses rustup
Goteeup install dev-env goThe latest Go

teeup status lists the installed languages below “Dev envs”, and the menu shows them below “Install”, then “Language runtimes”.

Homebrew or mise?

teeup uses two sources. The tools that teeup itself needs come from Homebrew or MacPorts. The tools that you use come from mise, at the versions of the teeup release.

SourceTools
Homebrew or MacPortsmise, git, the GitHub CLI, gum, jq, zsh and its plugins, curl, wget, tree, GnuPG, btop, Colima and Docker, and every app
mise, at the versions of the releaseripgrep, fd, fzf, bat, eza, zoxide, yq, tealdeer (tldr), dust, delta, git-lfs, lazygit, Starship, Neovim, tmux, Herdr, and the Ollama command
mise, at the versions that you chooseLanguage runtimes, the AI command-line tools, and every tool that you add with mise use -g

The file share/teeup/tools.lock in the teeup checkout records the versions of the second row. A new teeup release can change these versions. teeup installs each tool with mise and links it in two steps. The link in ~/.local/bin points to a link in ~/.local/state/teeup/tools, and that link points to the tool. A command then starts the tool directly, without mise, so it starts as fast as a Homebrew copy.

teeup records the same versions in ~/.config/mise/conf.d/teeup.toml, so mise prune keeps them. mise reads this file and your ~/.config/mise/config.toml.

teeup edits your config.toml only when it moves a choice that mise wrote into teeup’s file. See the mise configuration page.

Your own mise use -g <tool>@<version> choice wins over the release. Run teeup update or teeup configure <capability> to point teeup’s link at it.

teeup keeps the release version installed. Run mise unuse -g <tool>, then run teeup update to make the link use it again.

teeup doctor reports a linked choice as healthy. It also shows the command that returns the link to the release version.

Language runtimes come from mise because projects need different versions. Each project specifies its versions in mise.toml, and mise activate changes between them when you change directories. mise downloads each AI tool the first time that you run it.

A Mac with MacPorts gets the same tools from mise as a Mac with Homebrew. MacPorts has no casks, so with MacPorts, WezTerm and Emacs come from ports and teeup tells you to download the other apps yourself.

teeup update installs a new pinned version when a release changes it. It upgrades the Homebrew or MacPorts packages only when it moves teeup to a new commit. It also runs mise upgrade for the tools in your global mise configuration. See Updates.

Most capabilities accept a copy of their command that you installed a different way, such as your own jq, if its version command runs. A broken command or a stale shim on PATH does not replace the package. A file of your own at ~/.local/bin/rg, or at the path of another pinned tool, stays, and teeup does not link that tool. teeup owns a link in ~/.local/bin only when it points into ~/.local/state/teeup/tools. If you link a tool to a mise install yourself, your link stays, and teeup remove does not uninstall that version.

The GitHub CLI is an exception: teeup always installs its own gh, because git uses gh to sign in. teeup doctor github warns when a different gh comes first on PATH.

Where the versions live

Each runtime goes into your global mise configuration, ~/.config/mise/config.toml. teeup runs mise from / for this, so a mise.toml file in the current project cannot redirect the installation. If you already specified a version there, teeup keeps it and does not replace it with the latest version.

Project versions operate the usual mise way, with a mise.toml file in the project that you write by hand or with mise use. The teeup shell runs mise activate zsh, so the correct version is on PATH when you move between directories. teeup update runs mise upgrade for the global tools.

The new runtime is on PATH at the next prompt in the shell where you ran the command. Other shells find the new runtime after you open a new terminal.

No shims for runtimes

Lazy capabilities get shims (see Tiers), but runtimes do not. macOS already has commands such as python3, ruby, and java, and a teeup shim must never replace them. When you type python, teeup does not ask you to install anything. Run teeup install dev-env python to install Python.

Rust

mise installs Rust through rustup, which puts toolchains in ~/.rustup and ~/.cargo. The teeup shell puts ~/.cargo/bin on PATH, so the shell finds the packages that you install with cargo install. ~/.cargo/bin comes after ~/.local/bin on PATH, so a cargo binary never replaces a teeup wrapper.

Java and javav

The javav command changes Java for the current shell only.

CommandWhat it does
javav 21Install Corretto 21 if necessary and use it in this shell
javav zulu-17The same, for a different vendor and version
javavShow JAVA_HOME, the java on PATH, and its version

A version number without a vendor name means Corretto. To use a different vendor as the default, set JAVAV_VENDOR in ~/.config/zsh/local.zsh, for example export JAVAV_VENDOR=zulu.

Go

The teeup shell sets GOPATH to ~/Development/GoWorkspace if you did not set it yourself. It adds the bin directory of the workspace to PATH when that directory exists.