
Mux is a statically-typed, reference-counted language that combines Python's readability, Go's simplicity, and Rust's type safety - compiled to native code via LLVM.
# Install (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/muxlang/mux-compiler/main/scripts/install.sh | sh
# Or on Windows (PowerShell)
irm https://raw.githubusercontent.com/muxlang/mux-compiler/main/scripts/install.ps1 | iex
# Run your first program
mux run hello.muxOr skip the install and try it in the playground.
- Simple & readable - clean, semicolon-free syntax with Python-like clarity.
- Type safe - strong static typing, no implicit conversions, errors caught at compile time.
- Fast & native - LLVM-powered compilation to real native binaries.
- Memory safe - reference counting, no GC pauses and no borrow-checker ceremony.
- Modern - generics, interfaces, tagged unions, and exhaustive pattern matching.
| Repo | What it is |
|---|---|
| mux-compiler | The compiler + CLI (lexer, parser, semantics, LLVM codegen). The canonical "Mux version". |
| mux-runtime | Runtime + standard library for compiled programs. Plain stable Rust, no LLVM. Existing crates.io releases remain available, but new versions are consumed from a pinned git commit. |
| mux-website | The documentation site (mux-lang.dev) + the docs AI assistant + indexing tools. |
| mux-website-api | The Fly.io compile/run API behind the playground. |
| tree-sitter-mux | Tree-sitter grammar + highlight queries (Neovim, Helix, Emacs). |
| mux-syntax-highlighting | TextMate grammar, VSCode extension, editor configs, and the canonical syntax spec. |
| mux-context | Cross-repo knowledge hub: architecture, design rationale, feature map, glossary, and the release process. |
- New to the language? Start with the docs.
- Curious how it fits together? Read mux-context.
- Want to contribute? Each repo has its own
README.mdandAGENTS.md; shared guidelines live in CONTRIBUTING.md. - Found a bug or have an idea? Open an issue in the relevant repo - or, if you're unsure which, in mux-context for triage.
Thank you to the following companies who have allowed this project to use their services under FOSS terms:
Greptile: The War on Bugs
SonarQube Cloud: Continuous Code Quality and Security
Blacksmith: The fastest way to run your GitHub Actions
Mux is MIT-licensed and welcomes contributions.