Skip to content

Latest commit

Β 

History

History
44 lines (31 loc) Β· 1.47 KB

File metadata and controls

44 lines (31 loc) Β· 1.47 KB

Home > Building from Source

πŸ”¨ Building from Source

Prerequisites

  • Go 1.26+
  • cmux in $PATH (for cmux backend) or Ghostty 1.3+ (for Ghostty backend)

Build Targets

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/

πŸ–₯️ Platform Compatibility

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