Tup
gittup.org
- Free plan
- Windows
- macOS
- Linux
What Tup is
Tup is a file-based build system for Linux, macOS, and Windows. It tracks changes through a dependency graph and runs the commands needed to refresh dependent files. Its build algorithms skip work that is not needed, and it can remove outdated files automatically. Build instructions live in one or more Tupfiles; Tup leaves decisions about how a project is built to those descriptions rather than assuming a particular language. Configuration files can also create variant directories, with a copy or link of the configuration in each. On Linux, an inotify file monitor can update Tup’s database as files change. Tup can produce compile_commands.json for compatible tools, and can generate shell or Windows batch scripts for builds outside Tup; those scripts do not provide incremental builds. It reports build descriptions that are unsafe to run in parallel. Tup is free under GPL-v2; a commercial license is available on case-by-case terms. The public mailing list serves open-source and commercial projects, while private email support is free for open-source projects.
Who it suits
Tup suits developers who want to describe build steps explicitly and keep incremental builds focused on changed files. It can also fit teams using compatible compilation-database tools or generating scripts for CI.
Good to know, and what to watch
- Incremental builds avoid unnecessary work.
- Automatically cleans up old files.
- Generates compile_commands.json for compatible tools.
- Supports Linux, macOS, and Windows.
- The inotify-based file monitor is Linux-only.
- Generated build scripts do not support incremental builds.
- Commercial license terms are negotiated case by case.
Plans
Every plan and priceCommercial license
Tup (GPL-v2)
Free plan
The verdict
Tup offers file-change-driven builds, configuration-based variants, and integrations for external tools. Check the Linux-only file monitor and non-incremental generated scripts against your workflow.
What the maker publishes
- Build cleanup
- Tup automatically cleans up old files. source
- Build configuration
- Users describe how to build a program in one or more Tupfiles because Tup has no domain-specific knowledge. source
- Build variants
- Tup can create variant directories from configuration files, with the configuration linked or copied into each directory. source
- CI use
- Tup can generate a shell or Windows batch script to build without running inside a Tup environment; the generated script does not support incremental builds. source
- File monitoring
- The inotify-based file monitor is Linux only and can update the Tup database as file changes occur. source
- Incremental builds
- Tup uses build algorithms to avoid unnecessary work and update projects with little overhead. source
- License
- Tup is dual-licensed under GPL-v2 or a commercial license whose terms are negotiated case by case. source
- Parallel safety
- Tup detects when a build description is not parallel-safe and reports it. source
- Platforms
- The maker describes Tup as available for Linux, OSX, and Windows; its macOS instructions require a FUSE implementation. source
- Purpose
- Tup is a file-based build system that processes file changes and a dependency graph to run commands needed to update dependent files. source
- Release history
- The release directory lists Tup 0.8 dated 2024-03-31 as its newest listed release. source
- Support
- The public mailing list is free for open-source and commercial projects, while private email support is offered free for open-source projects. source
- Tooling integration
- Tup can generate compile_commands.json for third-party tools that use the JSON compilation database format. source
Checked against the maker's pages on 9 Oct 2026.