Home > Building from Source
- Go 1.26+
- cmux in
$PATH(for cmux backend) or Ghostty 1.3+ (for Ghostty backend)
make build # β bin/crex (current platform)
make build-all # β cross-compile for macOS + Linux
make install # β /usr/local/bin/crex (short name)
make install-long # β /usr/local/bin/cmux-resurrect (long name)
make install-both # β both names (crex + cmux-resurrect)
make test # π§ͺ unit tests
make test-integration # π§ͺ integration tests (needs running cmux)
make lint # π go vet
make fmt # β¨ go fmt
make clean # ποΈ remove bin/crex works with both cmux and Ghostty. If your Mac runs either one, it runs crex β no extra dependencies, no compatibility surprises. The backend is auto-detected at startup.
The binary is pure Go with zero CGO dependencies.
| Platform | Architecture | Status |
|---|---|---|
| macOS (Apple Silicon) | M1, M2, M3, M4 | β Tested |
| macOS (Intel) | x86_64 | β Tested |
| Linux | x86_64 | β Builds |
| Linux | ARM64 | β Builds |
make build-all produces binaries for all four targets in bin/.
π For architecture details and internal design, see ARCHITECTURE.md.
See also: Commands | Configuration