cup is a user-space manager for prebuilt C development tools. It installs,
updates and selects compilers, linkers, debuggers and related tools without
requiring administrator privileges or modifying system toolchain directories.
- verified package downloads over HTTPS;
- per-host and per-target tool selections;
- profiles and curated LLVM/GNU toolchains;
- transactional install, update and removal;
- local diagnosis and recovery through
doctorandrepair; - native support for Linux, macOS and Windows.
Tool packages are produced separately by
cup-components. This
repository contains the cup CLI, installers, local state management and release
assets.
curl -fsSL https://github.com/coffee-clang/cup/releases/latest/download/install.sh | shpowershell -NoProfile -ExecutionPolicy Bypass -Command '$installer = Join-Path $env:TEMP "install-cup.ps1"; iwr "https://github.com/coffee-clang/cup/releases/latest/download/install.ps1" -OutFile $installer; & $installer'The installer normally uses ~/.cup or %USERPROFILE%\.cup. If that name is
already occupied by an unrelated directory, it preserves the directory and uses
.coffee-cup instead. A strict root.txt marker makes the selected root
stable across later commands and updates.
cup search
cup install gcc
cup install compiler
cup install profile standard
cup list
cup info
cup config
cup update
cup doctorUse cup help for the command list and cup help <command> for detailed usage.