Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

164 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cup

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.

What cup provides

  • 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 doctor and repair;
  • 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.

Install

Linux and macOS

curl -fsSL https://github.com/coffee-clang/cup/releases/latest/download/install.sh | sh

Windows PowerShell

powershell -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.

Quick start

cup search
cup install gcc
cup install compiler
cup install profile standard
cup list
cup info
cup config
cup update
cup doctor

Use cup help for the command list and cup help <command> for detailed usage.

Documentation

About

A modern way to manage a C toolchain

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages