The fast package manager for macOS, written in Rust.
Documentation · Benchmarks · Website
Installing vips with all dependencies from a cold cache, including downloads.
- Fast end to end. Downloads, preparation, and installation overlap to finish sooner.
- 8,000+ packages available. Install command-line tools from Homebrew’s ecosystem of prebuilt packages.
- No
brew updatestep. Package metadata is resolved from the registry as part of the operation. - Concise output by default. Clear progress and useful errors keep everyday commands readable.
- JSON Schema and plan mode for agents. Structured output and previews let agents inspect changes before applying them.
- Declarative package state.
glu.jsonrecords the packages you chose; glu manages their dependencies. - Built-in observability. Every install records a local trace showing where time goes.
glu supports macOS on Apple Silicon.
curl -fsSL https://glu.run/install | bashTip
Let your agent introduce glu
Ask your coding agent:
Run `glu help --json --schemas`. Explain what makes glu useful and show
me how to manage packages safely. Do not make any changes.
This read-only command provides the command manifest and JSON Schemas, so agents can discover the interface without scraping terminal help.
Upgrade glu to the latest version:
glu upgradeglu trace view
A recorded vips install in glu’s trace viewer.
- One-shot server-side resolution. Fetch the complete dependency graph and install metadata in one round trip. No local index to refresh.
- Built-in observability. Every install records a local trace, showing where time goes without uploading data.
- Critical-path scheduling. Prioritize downloads that unlock expensive work.
- Parallel, multipart downloads. Fetch packages concurrently and split large downloads into chunks.
- Overlapping stages. Download, extract, prepare, and install concurrently where dependencies allow.
- Shared resource limits. Coordinate network, CPU, memory, and filesystem work.
- Coalesced postinstall work. Rebuild shared caches once, after all contributing packages are ready.
- Written in Rust. Native performance, with explicit control over concurrency and memory.
Read more about performance.
Follow the Quick Start for a walkthrough, or browse the CLI reference for all commands.
| Task | Command |
|---|---|
| Install a package | glu install vips |
Sync from glu.json |
glu install |
| Preview an installation | glu install vips --plan |
| Show the installed dependency tree | glu list --tree |
| Explain why a package is installed | glu why <name> |
| Inspect the latest trace | glu trace view |
| Discover commands and schemas | glu help --json --schemas |
cargo build-local
./target/local/glu --versionContributor documentation:
- Codebase documentation
- Architecture
- Install pipeline
- State model
- Security and correctness
- CLI behavior
- Registry contract
- Release process
User documentation is available at glu.run/docs.
Original glu source is available under the MIT License. glu-client also contains portions adapted from Homebrew under the BSD 2-Clause License. See LICENSE-MIT, LICENSE-BSD-2-Clause, and THIRD_PARTY_NOTICES.md.
The generated dependency license report is in THIRD_PARTY_LICENSES.html.
glu is an independent project and is not affiliated with or endorsed by Homebrew or Apple Inc.
